Skip to content

Commit

Permalink
lynxkdi: get mac address from environment
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Frysinger <[email protected]>
CC: Ben Warren <[email protected]>
  • Loading branch information
vapier authored and wdenx committed Mar 20, 2009
1 parent 62c93d9 commit 5013533
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/lynxkdi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5013533

Please sign in to comment.