blob: 2f57118bb2652266fefe5dcba102800a53e10679 [file] [log] [blame]
Patrick Delaunay2a57bcb2020-01-13 15:17:40 +01001config CMD_STBOARD
2 bool "stboard - command for OTP board information"
Patrick Delaunay310aa8a2020-01-13 15:17:42 +01003 depends on ARCH_STM32MP
4 default y if TARGET_ST_STM32MP15x
Patrick Delaunay2a57bcb2020-01-13 15:17:40 +01005 help
6 This compile the stboard command to
7 read and write the board in the OTP.
Patrick Delaunayc7d5b8c2020-03-18 09:22:46 +01008
Patrick Delaunay7511d142020-03-18 09:22:47 +01009config MTDPARTS_NAND0_BOOT
10 string "mtd boot partitions for nand0"
Patrick Delaunay9c88dbf2021-07-26 11:21:36 +020011 default "2m(fsbl),2m(ssbl1),2m(ssbl2)" if STM32MP15x_STM32IMAGE || \
12 !TFABOOT
13 default "2m(fsbl),4m(fip1),4m(fip2)"
Patrick Delaunay7511d142020-03-18 09:22:47 +010014 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 Delaunay9c88dbf2021-07-26 11:21:36 +020020 The fsbl partition support multiple copy of the same binary, one by
21 erase block.
Patrick Delaunay7511d142020-03-18 09:22:47 +010022
23config MTDPARTS_NAND0_TEE
24 string "mtd tee partitions for nand0"
25 default "512k(teeh),512k(teed),512k(teex)"
Patrick Delaunay9c88dbf2021-07-26 11:21:36 +020026 depends on SYS_MTDPARTS_RUNTIME && ARCH_STM32MP && STM32MP15x_STM32IMAGE
Patrick Delaunay7511d142020-03-18 09:22:47 +010027 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
33config MTDPARTS_NOR0_BOOT
34 string "mtd boot partitions for nor0"
Patrick Delaunay9c88dbf2021-07-26 11:21:36 +020035 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 Delaunay7511d142020-03-18 09:22:47 +010038 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
46config MTDPARTS_NOR0_TEE
47 string "mtd tee partitions for nor0"
Patrick Delaunayd83072e2020-06-16 18:19:28 +020048 default "256k(teeh),512k(teed),256k(teex)"
Patrick Delaunay9c88dbf2021-07-26 11:21:36 +020049 depends on SYS_MTDPARTS_RUNTIME && ARCH_STM32MP && STM32MP15x_STM32IMAGE
Patrick Delaunay7511d142020-03-18 09:22:47 +010050 help
51 This define the tee partitions added in mtparts dynamically
52 when tee is supported with boot from nor0.
53
54config MTDPARTS_SPINAND0_BOOT
55 string "mtd boot partitions for spi-nand0"
Patrick Delaunay9c88dbf2021-07-26 11:21:36 +020056 default "2m(fsbl),2m(ssbl1),2m(ssbl2)" if STM32MP15x_STM32IMAGE || !TFABOOT
57 default "2m(fsbl),4m(fip1),4m(fip2)"
Patrick Delaunay7511d142020-03-18 09:22:47 +010058 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 Delaunay9c88dbf2021-07-26 11:21:36 +020063 The fsbl partition support multiple copy of the same binary, one by
64 erase block.
Patrick Delaunay7511d142020-03-18 09:22:47 +010065
66config MTDPARTS_SPINAND0_TEE
67 string "mtd tee partitions for spi-nand0"
68 default "512k(teeh),512k(teed),512k(teex)"
Patrick Delaunay9c88dbf2021-07-26 11:21:36 +020069 depends on SYS_MTDPARTS_RUNTIME && ARCH_STM32MP && STM32MP15x_STM32IMAGE
Patrick Delaunay7511d142020-03-18 09:22:47 +010070 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 Delaunayc7d5b8c2020-03-18 09:22:46 +010075config 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 Delaunayfcb6b0b2020-06-29 10:34:06 +020081
82config 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.