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)
This commit is contained in:
Sven Schnelle 2012-07-06 08:58:11 +02:00
parent 7435baa5c5
commit 34d86f0c61
1 changed files with 1 additions and 1 deletions

View File

@ -1521,7 +1521,7 @@ static void i5000_try_restart(const char *msg)
{ {
printk(BIOS_INFO, msg); printk(BIOS_INFO, msg);
i5000_dump_error_registers(); i5000_dump_error_registers();
// outb(0x06, 0xcf9); outb(0x06, 0xcf9);
for(;;) asm volatile("hlt"); for(;;) asm volatile("hlt");
} }