stm32mp1: dynamically build DFU_ALT_INFO
authorPatrick Delaunay <patrick.delaunay@st.com>
Wed, 18 Mar 2020 08:22:46 +0000 (09:22 +0100)
committerPatrick Delaunay <patrick.delaunay@st.com>
Thu, 14 May 2020 07:02:12 +0000 (09:02 +0200)
commit31325e1b8b9ce06b34add643f4a9d0b58235434a
tree123c074db89d06d324886143400477f4fb60da5a
parentec2933e543dfe80bbb7b3c015392b44894081452
stm32mp1: dynamically build DFU_ALT_INFO

This patch reduces the stm32mp1 environment size and
builds dynamically the DFU board configuration with gpt
and mtd partitions and information from defconfig
(CONFIG_DFU_ALT_RAM0).

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