diff options
author | Phil Sutter <phil@nwl.cc> | 2021-03-05 23:05:11 +0300 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2021-04-08 09:50:41 +0300 |
commit | a770159f88214846a66c7d7b6ee894de428e8fae (patch) | |
tree | 73d2bcecf52871fae19d44f8693f8ae687f18cca /configs/ds414_defconfig | |
parent | e471ddf0f3472423e8cdf8cc7d06a0b8e2abfebc (diff) | |
download | u-boot-a770159f88214846a66c7d7b6ee894de428e8fae.tar.xz |
arm: mvebu: ds414: Auto-populate env if appropriate
Define a misc_init_r() which calls "syno populate_env" if the
environment seems incomplete (or default), indicated by missing
"ethaddr" variable. With this in place, no random MAC address fallback
is needed anymore.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'configs/ds414_defconfig')
-rw-r--r-- | configs/ds414_defconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/ds414_defconfig b/configs/ds414_defconfig index 8ef2e79dc9..e1c0f693f3 100644 --- a/configs/ds414_defconfig +++ b/configs/ds414_defconfig @@ -24,6 +24,7 @@ CONFIG_BOOTARGS="console=ttyS0,115200 ip=off initrd=0x8000040,8M root=/dev/md0 r # CONFIG_USE_PREBOOT is not set # CONFIG_DISPLAY_BOARDINFO is not set CONFIG_DISPLAY_BOARDINFO_LATE=y +CONFIG_MISC_INIT_R=y CONFIG_SPL_I2C_SUPPORT=y # CONFIG_CMD_FLASH is not set CONFIG_CMD_I2C=y @@ -46,7 +47,6 @@ CONFIG_ENV_OVERWRITE=y CONFIG_USE_ENV_SPI_MAX_HZ=y CONFIG_ENV_SPI_MAX_HZ=50000000 CONFIG_SYS_RELOC_GD_ENV_ADDR=y -CONFIG_NET_RANDOM_ETHADDR=y CONFIG_SPL_OF_TRANSLATE=y CONFIG_BLK=y # CONFIG_MMC is not set |