sandbox: net: Remove fake-host-hwaddr
authorSean Anderson <sean.anderson@seco.com>
Thu, 5 May 2022 17:11:33 +0000 (13:11 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 8 Jun 2022 17:59:52 +0000 (13:59 -0400)
commit416e09b906afbbc2de4ec0072a502ac6eb54f41a
tree5c96fe1ca2ef41df29c8dc97f895be274cd69473
parentdf33fd28897b044166b7aae7e5dd5860c6f79af4
sandbox: net: Remove fake-host-hwaddr

Instead of reading a pseudo-rom mac address from the device tree, just use
whatever we get from write_hwaddr. This has the effect of using the mac
address from the environment (or from the device tree, if it is
specified).

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Ramon Fried <rfried.dev@gmail.com>
arch/sandbox/dts/sandbox.dts
arch/sandbox/dts/sandbox64.dts
arch/sandbox/dts/test.dts
drivers/net/sandbox.c