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
..
2019-08-11 16:43:41 -04:00
2020-05-07 09:01:42 -04:00
2020-03-03 13:08:14 +05:30
2020-01-24 23:06:48 +05:30
2019-08-11 16:43:41 -04:00
2020-01-24 23:06:48 +05:30
2019-10-25 17:20:43 +02:00
2018-09-10 21:19:31 -04:00
2020-01-24 23:06:48 +05:30
2020-01-24 23:06:49 +05:30