mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 14:10:43 +00:00
lynxkdi: get mac address from environment
Signed-off-by: Mike Frysinger <vapier@gentoo.org> CC: Ben Warren <biggerbadderben@gmail.com>
This commit is contained in:
parent
62c93d92f1
commit
5013533467
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ void lynxkdi_boot (image_header_t *hdr)
|
|||
kbd = gd->bd;
|
||||
parms->clock_ref = kbd->bi_busfreq;
|
||||
parms->dramsz = kbd->bi_memsize;
|
||||
memcpy (parms->ethaddr, kbd->bi_enetaddr, 6);
|
||||
eth_getenv_enetaddr("ethaddr", parms->ethaddr);
|
||||
mtspr (SPRN_SPRG2, 0x0020);
|
||||
|
||||
/* Do a simple check for Bluecat so we can pass the
|
||||
|
|
Loading…
Reference in a new issue