u-boot/board/st/common
Patrick Delaunay 23229d0309 board: stm32mp1: adapt MTD partition for BOOT from NOR or NAND
Dynamically adapt the MTD partitions in NAND and SPI-NAND when boot from
NOR or NAND/SPI-NAND is detected.

This patch avoids to define the save MTD partition name for NOR and NAND
devices and issue with latest kernel: only the needed MTD partitions
are defined.

For boot from NOR
1/ bootloader (TF-A, U-Boot and OP-TE) in NOR
2/ one large UBI partition in NAND

For boot from NAND
1/ bootloader (TF-A, U-Boot and OP-TE) in MTD raw partition
2/ one large UBI partition

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
2020-05-14 09:02:12 +02:00
..
cmd_stboard.c board: stm32mp1: add finished good in board identifier OTP 2020-03-24 14:14:40 +01:00
Kconfig stm32mp1: move MTDPART configuration in Kconfig 2020-05-14 09:02:12 +02:00
MAINTAINERS stm32mp1: move stboard command in board/st/common directory 2020-01-17 13:58:27 +01:00
Makefile board: stm32mp1: move set_dfu_alt_info in st common directory 2020-05-14 09:02:12 +02:00
stm32mp_dfu.c stm32mp1: dynamically build DFU_ALT_INFO 2020-05-14 09:02:12 +02:00
stm32mp_mtdparts.c board: stm32mp1: adapt MTD partition for BOOT from NOR or NAND 2020-05-14 09:02:12 +02:00