From: Tom Rini Date: Thu, 27 Jun 2013 12:23:27 +0000 (-0400) Subject: Merge branch 'master' of git://git.denx.de/u-boot-74xx-7xx X-Git-Tag: v2013.07-rc2~6 X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=commitdiff_plain;h=58a5c43c09398d7cc68417117f1d882f1ca831cc;hp=1b9591c2375d59be333c98c760e06605007e20c3 Merge branch 'master' of git://git.denx.de/u-boot-74xx-7xx --- diff --git a/board/eltec/elppc/misc.c b/board/eltec/elppc/misc.c index 89f1b1d355..4c3656e24d 100644 --- a/board/eltec/elppc/misc.c +++ b/board/eltec/elppc/misc.c @@ -207,9 +207,14 @@ int misc_init_r (void) buf[4] = eerev.etheraddr[5]; buf[5] = eerev.etheraddr[4]; - *(unsigned short *) &buf[20] = 0x48B2; - *(unsigned short *) &buf[22] = 0x0004; - *(unsigned short *) &buf[24] = 0x1433; + buf[20] = 0x48; + buf[21] = 0xB2; + + buf[22] = 0x00; + buf[23] = 0x04; + + buf[24] = 0x14; + buf[25] = 0x33; printf ("\nSRom: Writing i82559 info ........ "); if (eepro100_srom_store ((unsigned short *) buf) == -1)