diff options
author | Stefan Reinauer <stepan@openbios.org> | 2005-02-02 15:17:51 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2005-02-02 15:17:51 +0000 |
commit | aabf7f93b37234476c4fe73a52bc2ca20fed9919 (patch) | |
tree | b8e63e696b2261b868f796fa121d398d0e500ff1 | |
parent | d4b24ceedbfda80d90632ce68e9da3fc411de9f1 (diff) |
make debugging a bit more useful
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1907 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r-- | src/northbridge/amd/amdk8/debug.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/northbridge/amd/amdk8/debug.c b/src/northbridge/amd/amdk8/debug.c index 623214fefd..3430f43be4 100644 --- a/src/northbridge/amd/amdk8/debug.c +++ b/src/northbridge/amd/amdk8/debug.c @@ -27,6 +27,10 @@ static void print_pci_devices(void) continue; } print_debug_pci_dev(dev); + print_debug(" "); + print_debug_hex16(id & 0xffff); + print_debug(" "); + print_debug_hex16((id>>16) & 0xffff); print_debug("\r\n"); } } @@ -99,7 +103,7 @@ static void dump_spd_registers(const struct mem_controller *ctrl) print_debug_hex8(i); print_debug(".0: "); print_debug_hex8(device); - for(j = 0; j < 256; j++) { + for(j = 0; j < 128; j++) { int status; unsigned char byte; if ((j & 0xf) == 0) { @@ -125,7 +129,7 @@ static void dump_spd_registers(const struct mem_controller *ctrl) print_debug_hex8(i); print_debug(".1: "); print_debug_hex8(device); - for(j = 0; j < 256; j++) { + for(j = 0; j < 128; j++) { int status; unsigned char byte; if ((j & 0xf) == 0) { |