Replace hlt() loops with halt()
Change-Id: I8486e70615f4c404a342cb86963b5357a934c41d Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: http://review.coreboot.org/7606 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
#include <arch/cpu.h>
|
||||
#include <cpu/x86/bist.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <halt.h>
|
||||
#include "gpio.h"
|
||||
#if CONFIG_CHROMEOS
|
||||
#include <vendorcode/google/chromeos/chromeos.h>
|
||||
@@ -191,7 +192,7 @@ void main(unsigned long bist)
|
||||
/* System is not happy after keyboard reset... */
|
||||
printk(BIOS_DEBUG, "Issuing CF9 warm reset\n");
|
||||
outb(0x6, 0xcf9);
|
||||
hlt();
|
||||
halt();
|
||||
}
|
||||
|
||||
/* Perform some early chipset initialization required
|
||||
@@ -241,7 +242,7 @@ void main(unsigned long bist)
|
||||
if (boot_mode==2 && !cbmem_was_initted) {
|
||||
/* Failed S3 resume, reset to come up cleanly */
|
||||
outb(0x6, 0xcf9);
|
||||
hlt();
|
||||
halt();
|
||||
}
|
||||
northbridge_romstage_finalize(boot_mode==2);
|
||||
|
||||
|
Reference in New Issue
Block a user