Changeset 5190


Ignore:
Timestamp:
Mar 5, 2010, 6:25:19 PM (6 years ago)
Author:
stepan
Message:

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@…>
Acked-by: Stefan Reinauer <stepan@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/northbridge/intel/i945/raminit.c

    r5185 r5190  
    237237                if (reg8 & (1<<2)) {
    238238                        printk_debug("SLP S4# Assertion Width Violation.\n");
    239 
     239                        /* Write back clears bit 2 */
    240240                        pci_write_config8(PCI_DEV(0, 0x1f, 0), 0xa2, reg8);
     241                        do_reset = 1;
    241242
    242243                }
     
    258259                        outb(0x00, 0xcf9);
    259260                        outb(0x0e, 0xcf9);
    260                         for (;;) ; /* Wait for reset! */
     261                        for (;;) asm("hlt"); /* Wait for reset! */
    261262                }
    262263        }
Note: See TracChangeset for help on using the changeset viewer.