summaryrefslogtreecommitdiff
path: root/board/amlogic/q200/q200.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-07-08 16:02:19 -0400
committerTom Rini <trini@konsulko.com>2019-07-08 16:02:19 -0400
commit0b7f1a95df8fe312ff8f1f548f51e6d656e8e67e (patch)
tree8ecfb7fedd9c1b7fa115054b218f7549d836d9a4 /board/amlogic/q200/q200.c
parentf5e73a34eddea4fb7c5e3d984b86f395996a64cd (diff)
parent3f1f9f08eb2031e14a7e2037feed18a69f1437c6 (diff)
Merge tag 'u-boot-amlogic-20190704' of https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic
- fix khadas-vim README - add support for unique generated MAC adresses from SoC serial, limited to Amlogic GXL/GXM boards for now
Diffstat (limited to 'board/amlogic/q200/q200.c')
-rw-r--r--board/amlogic/q200/q200.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/amlogic/q200/q200.c b/board/amlogic/q200/q200.c
index de97d6ad58..2ea97c362e 100644
--- a/board/amlogic/q200/q200.c
+++ b/board/amlogic/q200/q200.c
@@ -31,6 +31,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#")) {