soc/software/bios/boot: allow to override macaddr by using constant MACADDRx
This commit is contained in:
parent
13c57e8304
commit
e866892798
|
@ -304,7 +304,11 @@ int serialboot(void)
|
|||
#define TFTP_SERVER_PORT 69
|
||||
#endif
|
||||
|
||||
#ifdef MACADDR1
|
||||
static unsigned char macadr[6] = {MACADDR1, MACADDR2, MACADDR3, MACADDR4, MACADDR5, MACADDR6};
|
||||
#else
|
||||
static unsigned char macadr[6] = {0x10, 0xe2, 0xd5, 0x00, 0x00, 0x00};
|
||||
#endif
|
||||
|
||||
#ifdef LOCALIP1
|
||||
static unsigned int local_ip[4] = {LOCALIP1, LOCALIP2, LOCALIP3, LOCALIP4};
|
||||
|
|
Loading…
Reference in New Issue