]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mvebu: ds414: Auto-populate env if appropriate
authorPhil Sutter <phil@nwl.cc>
Fri, 5 Mar 2021 20:05:11 +0000 (21:05 +0100)
committerStefan Roese <sr@denx.de>
Thu, 8 Apr 2021 06:50:41 +0000 (08:50 +0200)
commita770159f88214846a66c7d7b6ee894de428e8fae
tree73d2bcecf52871fae19d44f8693f8ae687f18cca
parente471ddf0f3472423e8cdf8cc7d06a0b8e2abfebc
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>
board/Synology/ds414/cmd_syno.c
board/Synology/ds414/cmd_syno.h [new file with mode: 0644]
board/Synology/ds414/ds414.c
configs/ds414_defconfig