diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2019-06-14 13:05:59 +0200 |
---|---|---|
committer | Patrick Delaunay <patrick.delaunay@st.com> | 2019-07-12 11:18:53 +0200 |
commit | 4048e171d2de7b6eafb52875014a036f97e7dc38 (patch) | |
tree | 7e6484306e11d68b961e09042bcab2c2a00da2a2 /board | |
parent | 1958dae4f3f9ec5b050273f3c00b08fbe9a7cbd6 (diff) | |
download | u-boot-4048e171d2de7b6eafb52875014a036f97e7dc38.tar.gz |
stm32mp1: move CONFIG_ENV in Kconfig
Move 2 ENV configuration flags in board Kconfig
- CONFIG_ENV_SECT_SIZE
- CONFIG_ENV_OFFSET
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/st/stm32mp1/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/board/st/stm32mp1/Kconfig b/board/st/stm32mp1/Kconfig index 5ab94151a9..5f81f942a0 100644 --- a/board/st/stm32mp1/Kconfig +++ b/board/st/stm32mp1/Kconfig @@ -9,4 +9,10 @@ config SYS_VENDOR config SYS_CONFIG_NAME default "stm32mp1" +config ENV_SECT_SIZE + default 0x40000 if ENV_IS_IN_SPI_FLASH + +config ENV_OFFSET + default 0x280000 if ENV_IS_IN_SPI_FLASH + endif |