stm32mp1: move MTDPART configuration in Kconfig
authorPatrick Delaunay <patrick.delaunay@st.com>
Wed, 18 Mar 2020 08:22:47 +0000 (09:22 +0100)
committerPatrick Delaunay <patrick.delaunay@st.com>
Thu, 14 May 2020 07:02:12 +0000 (09:02 +0200)
commit28a28ba9764d02b1e52938b5f7d322ffd13b01f1
treedc589fc491eb0a6fef3eb8939620226c26aff9ab
parent31325e1b8b9ce06b34add643f4a9d0b58235434a
stm32mp1: move MTDPART configuration in Kconfig

This patch reduces the stm32mp1 environment size and builds
dynamically the MTD partitions with information from defconfig
(CONFIG_MTDPARTS_...).

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