[PATCH 04/14] sandbox: Move some mac addresses to device tree

Simon Glass sjg at chromium.org
Sat Feb 26 19:36:57 CET 2022


On Mon, 7 Feb 2022 at 16:42, Sean Anderson <sean.anderson at seco.com> wrote:
>
> 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 at seco.com>
> ---
>
>  arch/sandbox/dts/test.dts | 3 +++
>  board/sandbox/sandbox.env | 3 ---
>  2 files changed, 3 insertions(+), 3 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list