summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSven Schnelle <svens@stackframe.org>2012-07-06 08:58:11 +0200
committerSven Schnelle <svens@stackframe.org>2012-07-09 11:34:37 +0200
commit34d86f0c6178cf057a58891c1c90e48a189795af (patch)
treede7be28c1073d4ae04322078582c60430e5dbfcd /src
parent7435baa5c5cb1511e8a9533965bd07e94a536203 (diff)
downloadcoreboot-34d86f0c6178cf057a58891c1c90e48a189795af.tar.xz
i5000: reset system if raminit fails
Don't stop if RAM init fails at first try. It's better to restart and try again instead of failing on the first try if the second try would have worked. Change-Id: Ib5660265d5b10a01588f2e4022dac2ee34f2c6d0 Signed-off-by: Sven Schnelle <svens@stackframe.org> Reviewed-on: http://review.coreboot.org/1191 Reviewed-by: Peter Stuge <peter@stuge.se> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src')
-rw-r--r--src/northbridge/intel/i5000/raminit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/northbridge/intel/i5000/raminit.c b/src/northbridge/intel/i5000/raminit.c
index 139a33ca61..841e8093cd 100644
--- a/src/northbridge/intel/i5000/raminit.c
+++ b/src/northbridge/intel/i5000/raminit.c
@@ -1521,7 +1521,7 @@ static void i5000_try_restart(const char *msg)
{
printk(BIOS_INFO, msg);
i5000_dump_error_registers();
-// outb(0x06, 0xcf9);
+ outb(0x06, 0xcf9);
for(;;) asm volatile("hlt");
}