mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
stm32mp1: Move ENV_SIZE and ENV_OFFSET to Kconfig
Add arch stm32mp for ENV migration step and drop more items from include/configs/xxx.h. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
This commit is contained in:
parent
ef84dddd83
commit
579a3e7bf9
3 changed files with 4 additions and 6 deletions
|
@ -26,6 +26,9 @@ config SYS_SOC
|
||||||
config SYS_MALLOC_LEN
|
config SYS_MALLOC_LEN
|
||||||
default 0x2000000
|
default 0x2000000
|
||||||
|
|
||||||
|
config ENV_SIZE
|
||||||
|
default 0x1000
|
||||||
|
|
||||||
config TARGET_STM32MP1
|
config TARGET_STM32MP1
|
||||||
bool "Support stm32mp1xx"
|
bool "Support stm32mp1xx"
|
||||||
select ARCH_SUPPORT_PSCI if !STM32MP1_TRUSTED
|
select ARCH_SUPPORT_PSCI if !STM32MP1_TRUSTED
|
||||||
|
|
2
env/Kconfig
vendored
2
env/Kconfig
vendored
|
@ -470,7 +470,7 @@ config ENV_EXT4_FILE
|
||||||
It's a string of the EXT4 file name. This file use to store the
|
It's a string of the EXT4 file name. This file use to store the
|
||||||
environment (explicit path to the file)
|
environment (explicit path to the file)
|
||||||
|
|
||||||
if ARCH_ROCKCHIP || ARCH_SUNXI || ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL || ARC
|
if ARCH_ROCKCHIP || ARCH_SUNXI || ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL || ARC || ARCH_STM32MP
|
||||||
|
|
||||||
config ENV_OFFSET
|
config ENV_OFFSET
|
||||||
hex "Environment Offset"
|
hex "Environment Offset"
|
||||||
|
|
|
@ -38,11 +38,6 @@
|
||||||
*/
|
*/
|
||||||
#define CONFIG_SYS_LOAD_ADDR STM32_DDR_BASE
|
#define CONFIG_SYS_LOAD_ADDR STM32_DDR_BASE
|
||||||
|
|
||||||
/*
|
|
||||||
* Env parameters
|
|
||||||
*/
|
|
||||||
#define CONFIG_ENV_SIZE SZ_4K
|
|
||||||
|
|
||||||
/* ATAGs */
|
/* ATAGs */
|
||||||
#define CONFIG_CMDLINE_TAG
|
#define CONFIG_CMDLINE_TAG
|
||||||
#define CONFIG_SETUP_MEMORY_TAGS
|
#define CONFIG_SETUP_MEMORY_TAGS
|
||||||
|
|
Loading…
Reference in a new issue