summaryrefslogtreecommitdiff
path: root/board/amlogic/p212/p212.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/amlogic/p212/p212.c')
-rw-r--r--board/amlogic/p212/p212.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/amlogic/p212/p212.c b/board/amlogic/p212/p212.c
index 546c4d9c86..1159cee4ce 100644
--- a/board/amlogic/p212/p212.c
+++ b/board/amlogic/p212/p212.c
@@ -32,6 +32,8 @@ int misc_init_r(void)
mac_addr, EFUSE_MAC_SIZE);
if (len == EFUSE_MAC_SIZE && is_valid_ethaddr(mac_addr))
eth_env_set_enetaddr("ethaddr", mac_addr);
+ else
+ meson_generate_serial_ethaddr();
}
if (!env_get("serial#")) {