From aabf7f93b37234476c4fe73a52bc2ca20fed9919 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Wed, 2 Feb 2005 15:17:51 +0000 Subject: make debugging a bit more useful git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1907 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/northbridge/amd/amdk8/debug.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/northbridge') 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) { -- cgit v1.2.3