Patrick Delaunay | 2a57bcb | 2020-01-13 15:17:40 +0100 | [diff] [blame] | 1 | config CMD_STBOARD |
| 2 | bool "stboard - command for OTP board information" |
Patrick Delaunay | 310aa8a | 2020-01-13 15:17:42 +0100 | [diff] [blame] | 3 | depends on ARCH_STM32MP |
| 4 | default y if TARGET_ST_STM32MP15x |
Patrick Delaunay | 2a57bcb | 2020-01-13 15:17:40 +0100 | [diff] [blame] | 5 | help |
| 6 | This compile the stboard command to |
| 7 | read and write the board in the OTP. |
Patrick Delaunay | c7d5b8c | 2020-03-18 09:22:46 +0100 | [diff] [blame] | 8 | |
Patrick Delaunay | 7511d14 | 2020-03-18 09:22:47 +0100 | [diff] [blame] | 9 | config MTDPARTS_NAND0_BOOT |
| 10 | string "mtd boot partitions for nand0" |
Patrick Delaunay | 9c88dbf | 2021-07-26 11:21:36 +0200 | [diff] [blame] | 11 | default "2m(fsbl),2m(ssbl1),2m(ssbl2)" if STM32MP15x_STM32IMAGE || \ |
| 12 | !TFABOOT |
| 13 | default "2m(fsbl),4m(fip1),4m(fip2)" |
Patrick Delaunay | 7511d14 | 2020-03-18 09:22:47 +0100 | [diff] [blame] | 14 | depends on SYS_MTDPARTS_RUNTIME && ARCH_STM32MP |
| 15 | help |
| 16 | This define the partitions of nand0 used to build mtparts dynamically |
| 17 | for boot from nand0. |
| 18 | Each partition need to be aligned with the device erase block size, |
| 19 | 512KB is the max size for the NAND supported by stm32mp1 platform. |
Patrick Delaunay | 9c88dbf | 2021-07-26 11:21:36 +0200 | [diff] [blame] | 20 | The fsbl partition support multiple copy of the same binary, one by |
| 21 | erase block. |
Patrick Delaunay | 7511d14 | 2020-03-18 09:22:47 +0100 | [diff] [blame] | 22 | |
| 23 | config MTDPARTS_NAND0_TEE |
| 24 | string "mtd tee partitions for nand0" |
| 25 | default "512k(teeh),512k(teed),512k(teex)" |
Patrick Delaunay | 9c88dbf | 2021-07-26 11:21:36 +0200 | [diff] [blame] | 26 | depends on SYS_MTDPARTS_RUNTIME && ARCH_STM32MP && STM32MP15x_STM32IMAGE |
Patrick Delaunay | 7511d14 | 2020-03-18 09:22:47 +0100 | [diff] [blame] | 27 | help |
| 28 | This define the tee partitions added in mtparts dynamically |
| 29 | when tee is supported with boot from nand0. |
| 30 | Each partition need to be aligned with the device erase block size, |
| 31 | 512KB is the max size for the NAND supported by stm32mp1 platform. |
| 32 | |
| 33 | config MTDPARTS_NOR0_BOOT |
| 34 | string "mtd boot partitions for nor0" |
Patrick Delaunay | 9c88dbf | 2021-07-26 11:21:36 +0200 | [diff] [blame] | 35 | default "256k(fsbl1),256k(fsbl2),2m(ssbl),512k(u-boot-env)" if STM32MP15x_STM32IMAGE || \ |
| 36 | !TFABOOT |
| 37 | default "256k(fsbl1),256k(fsbl2),4m(fip),512k(u-boot-env)" |
Patrick Delaunay | 7511d14 | 2020-03-18 09:22:47 +0100 | [diff] [blame] | 38 | depends on SYS_MTDPARTS_RUNTIME && ARCH_STM32MP |
| 39 | help |
| 40 | This define the partitions of nand0 used to build mtparts dynamically |
| 41 | for boot from nor0. |
| 42 | Each partition need to be aligned with the device erase block size, |
| 43 | with 256KB we support all the NOR. |
| 44 | U-Boot env partition (512kB) use 2 erase block for redundancy. |
| 45 | |
| 46 | config MTDPARTS_NOR0_TEE |
| 47 | string "mtd tee partitions for nor0" |
Patrick Delaunay | d83072e | 2020-06-16 18:19:28 +0200 | [diff] [blame] | 48 | default "256k(teeh),512k(teed),256k(teex)" |
Patrick Delaunay | 9c88dbf | 2021-07-26 11:21:36 +0200 | [diff] [blame] | 49 | depends on SYS_MTDPARTS_RUNTIME && ARCH_STM32MP && STM32MP15x_STM32IMAGE |
Patrick Delaunay | 7511d14 | 2020-03-18 09:22:47 +0100 | [diff] [blame] | 50 | help |
| 51 | This define the tee partitions added in mtparts dynamically |
| 52 | when tee is supported with boot from nor0. |
| 53 | |
| 54 | config MTDPARTS_SPINAND0_BOOT |
| 55 | string "mtd boot partitions for spi-nand0" |
Patrick Delaunay | 9c88dbf | 2021-07-26 11:21:36 +0200 | [diff] [blame] | 56 | default "2m(fsbl),2m(ssbl1),2m(ssbl2)" if STM32MP15x_STM32IMAGE || !TFABOOT |
| 57 | default "2m(fsbl),4m(fip1),4m(fip2)" |
Patrick Delaunay | 7511d14 | 2020-03-18 09:22:47 +0100 | [diff] [blame] | 58 | depends on SYS_MTDPARTS_RUNTIME && ARCH_STM32MP |
| 59 | help |
| 60 | This define the partitions of nand0 used to build mtparts dynamically |
| 61 | for boot from spi-nand0, |
| 62 | 512KB is the max size for the NAND supported by stm32mp1 platform. |
Patrick Delaunay | 9c88dbf | 2021-07-26 11:21:36 +0200 | [diff] [blame] | 63 | The fsbl partition support multiple copy of the same binary, one by |
| 64 | erase block. |
Patrick Delaunay | 7511d14 | 2020-03-18 09:22:47 +0100 | [diff] [blame] | 65 | |
| 66 | config MTDPARTS_SPINAND0_TEE |
| 67 | string "mtd tee partitions for spi-nand0" |
| 68 | default "512k(teeh),512k(teed),512k(teex)" |
Patrick Delaunay | 9c88dbf | 2021-07-26 11:21:36 +0200 | [diff] [blame] | 69 | depends on SYS_MTDPARTS_RUNTIME && ARCH_STM32MP && STM32MP15x_STM32IMAGE |
Patrick Delaunay | 7511d14 | 2020-03-18 09:22:47 +0100 | [diff] [blame] | 70 | help |
| 71 | This define the tee partitions added in mtparts dynamically |
| 72 | when tee is supported with boot from spi-nand0, |
| 73 | 512KB is the max size for the NAND supported by stm32mp1 platform. |
| 74 | |
Patrick Delaunay | c7d5b8c | 2020-03-18 09:22:46 +0100 | [diff] [blame] | 75 | config DFU_ALT_RAM0 |
| 76 | string "dfu for ram0" |
| 77 | default "uImage ram 0xc2000000 0x2000000;devicetree.dtb ram 0xc4000000 0x100000;uramdisk.image.gz ram 0xc4400000 0x10000000" |
| 78 | depends on ARCH_STM32MP && SET_DFU_ALT_INFO |
| 79 | help |
| 80 | This defines the partitions of ram used to build dfu dynamically. |
Patrick Delaunay | fcb6b0b | 2020-06-29 10:34:06 +0200 | [diff] [blame] | 81 | |
| 82 | config TYPEC_STUSB160X |
| 83 | tristate "STMicroelectronics STUSB160X Type-C controller driver" |
| 84 | depends on DM_I2C |
| 85 | help |
| 86 | Say Y if your system has STMicroelectronics STUSB160X Type-C port |
| 87 | controller. |