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:
Elyes HAOUAS 2019-04-28 18:07:02 +02:00 committed by Nico Huber
parent d45f33804d
commit 363b77177e
1 changed files with 2 additions and 2 deletions

View File

@ -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);