nb/intel/haswell: Use system_reset()
Use already defined system_reset() function. Change-Id: I436f62c4402736fb74c59d8b359d0b3963f0e659 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32494 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
parent
b559b3c785
commit
82d4642805
|
@ -19,6 +19,7 @@
|
||||||
#include <cbmem.h>
|
#include <cbmem.h>
|
||||||
#include <arch/cbfs.h>
|
#include <arch/cbfs.h>
|
||||||
#include <cbfs.h>
|
#include <cbfs.h>
|
||||||
|
#include <cf9_reset.h>
|
||||||
#include <halt.h>
|
#include <halt.h>
|
||||||
#include <ip_checksum.h>
|
#include <ip_checksum.h>
|
||||||
#include <memory_info.h>
|
#include <memory_info.h>
|
||||||
|
@ -136,8 +137,7 @@ void sdram_initialize(struct pei_data *pei_data)
|
||||||
post_code(POST_RESUME_FAILURE);
|
post_code(POST_RESUME_FAILURE);
|
||||||
printk(BIOS_DEBUG, "Giving up in sdram_initialize: "
|
printk(BIOS_DEBUG, "Giving up in sdram_initialize: "
|
||||||
"No MRC data\n");
|
"No MRC data\n");
|
||||||
outb(0x6, 0xcf9);
|
system_reset();
|
||||||
halt();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Pass console handler in pei_data */
|
/* Pass console handler in pei_data */
|
||||||
|
|
Loading…
Reference in New Issue