From 677267a82a65c5ad802869171e3de6e5e7e270d4 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Sat, 18 Mar 2006 00:10:29 +0000 Subject: small ts5300 update, fix endian problem in dummmcr. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2213 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/dump_mmcr/dumpmmcr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'util/dump_mmcr/dumpmmcr.c') 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)); -- cgit v1.2.3