nb/intel/pineview: Use system_reset()
Use already defined system_reset() function. Change-Id: I32c731de0c30940d15fd01fec6f10b3b33c04370 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32496 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
parent
d45f33804d
commit
363b77177e
|
@ -22,6 +22,7 @@
|
|||
#include <console/console.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include <cbmem.h>
|
||||
#include <cf9_reset.h>
|
||||
#include <halt.h>
|
||||
#include <romstage_handoff.h>
|
||||
#include <southbridge/intel/i82801gx/i82801gx.h>
|
||||
|
@ -113,8 +114,7 @@ void mainboard_romstage_entry(unsigned long bist)
|
|||
|
||||
if (!cbmem_was_initted && s3resume) {
|
||||
/* Failed S3 resume, reset to come up cleanly */
|
||||
outb(0x6, 0xcf9);
|
||||
halt();
|
||||
system_reset();
|
||||
}
|
||||
|
||||
romstage_handoff_init(s3resume);
|
||||
|
|
Loading…
Reference in New Issue