|
@@ -89,7 +89,7 @@ int misc_init_r(void)
|
|
|
char *s = env_get("ethaddr");
|
|
|
if (s == 0) {
|
|
|
unsigned int x;
|
|
|
- char s[] = __stringify(CONFIG_ETHBASE);
|
|
|
+ char s[] = __stringify(CFG_ETHBASE);
|
|
|
x = (*(volatile u32 *)CFG_SYS_FPGAREG_DIPSW)
|
|
|
& FPGAREG_MAC_MASK;
|
|
|
sprintf(&s[15], "%02x", x);
|