summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2013-06-27 08:23:27 -0400
committerTom Rini <trini@ti.com>2013-06-27 08:23:27 -0400
commit58a5c43c09398d7cc68417117f1d882f1ca831cc (patch)
tree42dbc68e9ae4caa5b518fd50756f253e3207045c /board
parent1b9591c2375d59be333c98c760e06605007e20c3 (diff)
parentb8bfde7f0157c1266b23d71a5da81319302d9bb4 (diff)
downloadu-boot-imx-58a5c43c09398d7cc68417117f1d882f1ca831cc.zip
u-boot-imx-58a5c43c09398d7cc68417117f1d882f1ca831cc.tar.gz
u-boot-imx-58a5c43c09398d7cc68417117f1d882f1ca831cc.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-74xx-7xx
Diffstat (limited to 'board')
-rw-r--r--board/eltec/elppc/misc.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/board/eltec/elppc/misc.c b/board/eltec/elppc/misc.c
index 89f1b1d..4c3656e 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)