board: stm32mp1: move CONFIG_ENV_XXX in defconfig
authorPatrick Delaunay <patrick.delaunay@st.com>
Mon, 13 Jan 2020 14:17:41 +0000 (15:17 +0100)
committerPatrick Delaunay <patrick.delaunay@st.com>
Fri, 17 Jan 2020 12:58:27 +0000 (13:58 +0100)
commit493305716c7c91e91b3fcdcdd4a1bd662157c1ff
tree7a50245a45ebec78ecacebed38c7a8763fa7e8c8
parentba2c20ce7aba106d0101e04910be64fe3f855096
board: stm32mp1: move CONFIG_ENV_XXX in defconfig

Move CONFIG_ENV_SECT_SIZE and CONFIG_ENV_OFFSET in stm32mp15_*_defconfig
for ST board with NOR support (STM32MP15xx-EV1 boards)
- CONFIG_SECT_SIZE values = the max supported NOR erase size (256KB)
- CONFIG_ENV_OFFSET = offset for NOR (ENV_IS_IN_SPI_FLASH)

This Patch prepares the U-Boot support of boards with STM32MP15x SOC
not provided by STMicroelectronics.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
board/st/stm32mp1/Kconfig
configs/stm32mp15_basic_defconfig
configs/stm32mp15_optee_defconfig
configs/stm32mp15_trusted_defconfig