mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 08:01:08 +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;
|
kbd = gd->bd;
|
||||||
parms->clock_ref = kbd->bi_busfreq;
|
parms->clock_ref = kbd->bi_busfreq;
|
||||||
parms->dramsz = kbd->bi_memsize;
|
parms->dramsz = kbd->bi_memsize;
|
||||||
memcpy (parms->ethaddr, kbd->bi_enetaddr, 6);
|
eth_getenv_enetaddr("ethaddr", parms->ethaddr);
|
||||||
mtspr (SPRN_SPRG2, 0x0020);
|
mtspr (SPRN_SPRG2, 0x0020);
|
||||||
|
|
||||||
/* Do a simple check for Bluecat so we can pass the
|
/* Do a simple check for Bluecat so we can pass the
|
||||||
|
|
Loading…
Reference in a new issue