Commit 50135334 authored by Mike Frysinger's avatar Mike Frysinger Committed by Wolfgang Denk

lynxkdi: get mac address from environment

Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
CC: Ben Warren <biggerbadderben@gmail.com>
parent 62c93d92
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment