Commit 493305716c7c91e91b3fcdcdd4a1bd662157c1ff
1 parent
ba2c20ce7a
Exists in
smarc_8mq_lf_v2020.04
and in
9 other branches
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>
Showing 4 changed files with 6 additions and 6 deletions Side-by-side Diff
board/st/stm32mp1/Kconfig
... | ... | @@ -9,12 +9,6 @@ |
9 | 9 | config SYS_CONFIG_NAME |
10 | 10 | default "stm32mp1" |
11 | 11 | |
12 | -config ENV_SECT_SIZE | |
13 | - default 0x40000 if ENV_IS_IN_SPI_FLASH | |
14 | - | |
15 | -config ENV_OFFSET | |
16 | - default 0x280000 if ENV_IS_IN_SPI_FLASH | |
17 | - | |
18 | 12 | config TARGET_STM32MP157C_DK2 |
19 | 13 | bool "support of STMicroelectronics STM32MP157C-DK2 Discovery Board" |
20 | 14 | default y |
configs/stm32mp15_basic_defconfig
configs/stm32mp15_optee_defconfig