[PATCH] board: s400: generate unique mac address from SoC serial
Neil Armstrong
narmstrong at baylibre.com
Thu Sep 10 10:50:39 CEST 2020
Enable unique mac address generation from SoC serial on S400 board.
Signed-off-by: Neil Armstrong <narmstrong at baylibre.com>
---
board/amlogic/s400/s400.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/board/amlogic/s400/s400.c b/board/amlogic/s400/s400.c
index 7e2f0cdae3..b081942dcc 100644
--- a/board/amlogic/s400/s400.c
+++ b/board/amlogic/s400/s400.c
@@ -18,5 +18,7 @@ int misc_init_r(void)
{
meson_eth_init(PHY_INTERFACE_MODE_RGMII, 0);
+ meson_generate_serial_ethaddr();
+
return 0;
}
--
2.22.0
More information about the U-Boot
mailing list