]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: st: remove the nand MTD configuration for NOR boot in stm32mp1 board
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Thu, 25 Feb 2021 10:49:28 +0000 (11:49 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Thu, 11 Mar 2021 16:40:28 +0000 (17:40 +0100)
commit299ad5d6baa80374c1231f725a07cb1245f1f12a
treeb7710b3c751ec10168ec2ab3a8e539ba8e32750c
parent3f0038dee4e5e0c7c95640667260e6c8166d40f6
board: st: remove the nand MTD configuration for NOR boot in stm32mp1 board

Since commit d5d726d3cc47 ("configs: stm32mp1: only support SD card after
NOR in bootcmd_stm32mp"), the stm32mp1 boards only support SD card after
NOR boot device, so the MTD partitions for nand0 or spi-nand0 are useless
(no need of "UBI" partition in nand0 or spi-nand0).

This patch removes these nand MTD update for nor boot and simplify nand0
and spi-nand0 support (remove the mtd_boot variable).

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
board/st/common/stm32mp_mtdparts.c