summaryrefslogtreecommitdiff
path: root/util/dump_mmcr
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@openbios.org>2006-03-18 00:10:29 +0000
committerStefan Reinauer <stepan@openbios.org>2006-03-18 00:10:29 +0000
commit677267a82a65c5ad802869171e3de6e5e7e270d4 (patch)
tree6f0e1a764aba15d5f0d0585d77fcd037a2dda5f1 /util/dump_mmcr
parent34407063c2b9585bdb2c349ef4f3fb27d2981002 (diff)
downloadcoreboot-677267a82a65c5ad802869171e3de6e5e7e270d4.tar.xz
small ts5300 update, fix endian problem in dummmcr.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2213 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/dump_mmcr')
-rw-r--r--util/dump_mmcr/dumpmmcr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/dump_mmcr/dumpmmcr.c b/util/dump_mmcr/dumpmmcr.c
index 8e44c1abc7..a652eb3320 100644
--- a/util/dump_mmcr/dumpmmcr.c
+++ b/util/dump_mmcr/dumpmmcr.c
@@ -43,10 +43,10 @@ int print_mmcr(struct mmcr *mmcr)
printf("drctmctl is 0x%x\n", val(mmcr, memregs.drctmctl));
printf("drccfg is 0x%x\n", val(mmcr, memregs.drccfg));
printf("bendaddr is 0x%02x%02x%02x%02x\n",
- val(mmcr, memregs.drcbendadr[0]),
- val(mmcr, memregs.drcbendadr[1]),
+ val(mmcr, memregs.drcbendadr[3]),
val(mmcr, memregs.drcbendadr[2]),
- val(mmcr, memregs.drcbendadr[3]));
+ val(mmcr, memregs.drcbendadr[1]),
+ val(mmcr, memregs.drcbendadr[0]));
printf("eccctl is 0x%x\n", val(mmcr, memregs.eccctl));
printf("eccsta is 0x%x\n", val(mmcr, memregs.eccsta));
printf("ckbpos is 0x%x\n", val(mmcr, memregs.eccckbpos));