i945 mini patch:
- don't skip the reset on S4 violations. Specs ask us to do this so we do it - hlt on waiting for reset instead of hot looping. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5190 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
1b4f435281
commit
f98ad3ace0
|
@ -236,8 +236,9 @@ static void sdram_detect_errors(void)
|
|||
if (reg8 & ((1<<7)|(1<<2))) {
|
||||
if (reg8 & (1<<2)) {
|
||||
printk_debug("SLP S4# Assertion Width Violation.\n");
|
||||
|
||||
/* Write back clears bit 2 */
|
||||
pci_write_config8(PCI_DEV(0, 0x1f, 0), 0xa2, reg8);
|
||||
do_reset = 1;
|
||||
|
||||
}
|
||||
|
||||
|
@ -257,7 +258,7 @@ static void sdram_detect_errors(void)
|
|||
printk_debug("Reset required.\n");
|
||||
outb(0x00, 0xcf9);
|
||||
outb(0x0e, 0xcf9);
|
||||
for (;;) ; /* Wait for reset! */
|
||||
for (;;) asm("hlt"); /* Wait for reset! */
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue