global: Migrate CONFIG_ETHBASE to CFG
Perform a simple rename of CONFIG_ETHBASE to CFG_ETHBASE Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
b9abcb8c9f
commit
fb55ac2cfe
@ -89,7 +89,7 @@ int misc_init_r(void)
|
|||||||
char *s = env_get("ethaddr");
|
char *s = env_get("ethaddr");
|
||||||
if (s == 0) {
|
if (s == 0) {
|
||||||
unsigned int x;
|
unsigned int x;
|
||||||
char s[] = __stringify(CONFIG_ETHBASE);
|
char s[] = __stringify(CFG_ETHBASE);
|
||||||
x = (*(volatile u32 *)CFG_SYS_FPGAREG_DIPSW)
|
x = (*(volatile u32 *)CFG_SYS_FPGAREG_DIPSW)
|
||||||
& FPGAREG_MAC_MASK;
|
& FPGAREG_MAC_MASK;
|
||||||
sprintf(&s[15], "%02x", x);
|
sprintf(&s[15], "%02x", x);
|
||||||
|
@ -120,7 +120,7 @@
|
|||||||
/* Ethernet Driver Info */
|
/* Ethernet Driver Info */
|
||||||
/*======================*/
|
/*======================*/
|
||||||
|
|
||||||
#define CONFIG_ETHBASE 00:50:C2:13:6f:00
|
#define CFG_ETHBASE 00:50:C2:13:6f:00
|
||||||
#define CFG_SYS_ETHOC_BASE IOADDR(0x0d030000)
|
#define CFG_SYS_ETHOC_BASE IOADDR(0x0d030000)
|
||||||
#define CFG_SYS_ETHOC_BUFFER_ADDR IOADDR(0x0D800000)
|
#define CFG_SYS_ETHOC_BUFFER_ADDR IOADDR(0x0D800000)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user