diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2020-03-18 09:22:53 +0100 |
---|---|---|
committer | Patrick Delaunay <patrick.delaunay@st.com> | 2020-05-14 09:02:12 +0200 |
commit | 23229d030998f8c2425cc8bbf8c26360facc9300 (patch) | |
tree | e7e8e53c0166dde9f85c99a2a134e11d3d661760 /drivers/usb/gadget/g_dnl.c | |
parent | b664a74537c9a9a4a50940e4a2ced2428760235b (diff) |
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>
Diffstat (limited to 'drivers/usb/gadget/g_dnl.c')
0 files changed, 0 insertions, 0 deletions