]> git.dujemihanovic.xyz Git - u-boot.git/commit
sandbox: Move some mac addresses to device tree
authorSean Anderson <sean.anderson@seco.com>
Thu, 5 May 2022 17:11:35 +0000 (13:11 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 8 Jun 2022 17:59:52 +0000 (13:59 -0400)
commite844e5d9080604f1dab04f8f285c41335b6373bd
treedd4f41085855bba0e013a897b569f61b79255698
parent29186884f82111360e44c16e791c5077ad733761
sandbox: Move some mac addresses to device tree

This prevents some conflicts when running sandbox with -D, since the
"rom" mac address will be random and won't match the environment. We
still need to keep addresses for eth1 and eth6 in the environment,
because dm_test_eth_rotate expects to be able to disable them by
removing their envaddr variables. This can likely be fixed in a future
series by adding a function to cause sandbox eth_opts callback for a
particular mac to fail immediately.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/sandbox/dts/test.dts
board/sandbox/sandbox.env