We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdc1503 commit 05020b9Copy full SHA for 05020b9
board/sunxi/board.c
@@ -808,6 +808,7 @@ static void setup_environment(const void *fdt)
808
if ((sid[3] & 0xffffff) == 0)
809
sid[3] |= 0x800000;
810
811
+#if defined(CONFIG_CMD_NET)
812
for (i = 0; i < 4; i++) {
813
sprintf(ethaddr, "ethernet%d", i);
814
if (!fdt_get_alias(fdt, ethaddr))
@@ -831,6 +832,7 @@ static void setup_environment(const void *fdt)
831
832
833
eth_env_set_enetaddr(ethaddr, mac_addr);
834
}
835
+#endif
836
837
if (!env_get("serial#")) {
838
snprintf(serial_string, sizeof(serial_string),
0 commit comments