summaryrefslogtreecommitdiff
path: root/src/northbridge/intel
diff options
context:
space:
mode:
Diffstat (limited to 'src/northbridge/intel')
-rw-r--r--src/northbridge/intel/i945/debug.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/northbridge/intel/i945/debug.c b/src/northbridge/intel/i945/debug.c
index acf73c4c2d..0f388df4fb 100644
--- a/src/northbridge/intel/i945/debug.c
+++ b/src/northbridge/intel/i945/debug.c
@@ -87,9 +87,10 @@ void dump_spd_registers(void)
if ((i % 16) == 0)
printk(BIOS_DEBUG, "\n%02x: ", i);
status = smbus_read_byte(device, i);
- if (status < 0)
+ if (status < 0) {
printk(BIOS_DEBUG, "bad device: %02x\n", -status);
break;
+ }
printk(BIOS_DEBUG, "%02x ", status);
}
device++;