summaryrefslogtreecommitdiff
path: root/src/northbridge/intel
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-04-28 18:01:48 +0200
committerNico Huber <nico.h@gmx.de>2019-04-29 15:58:24 +0000
commit82d4642805bb3d5018e2580c4a7edfc6bdb9138a (patch)
treefb9c7be8939556f675a6da7e92a5e32bccaa0240 /src/northbridge/intel
parentb559b3c78548c5b9089bed39c89ff72535f07814 (diff)
downloadcoreboot-82d4642805bb3d5018e2580c4a7edfc6bdb9138a.tar.xz
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>
Diffstat (limited to 'src/northbridge/intel')
-rw-r--r--src/northbridge/intel/haswell/raminit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/northbridge/intel/haswell/raminit.c b/src/northbridge/intel/haswell/raminit.c
index faaa9d0412..fddada4ba0 100644
--- a/src/northbridge/intel/haswell/raminit.c
+++ b/src/northbridge/intel/haswell/raminit.c
@@ -19,6 +19,7 @@
#include <cbmem.h>
#include <arch/cbfs.h>
#include <cbfs.h>
+#include <cf9_reset.h>
#include <halt.h>
#include <ip_checksum.h>
#include <memory_info.h>
@@ -136,8 +137,7 @@ void sdram_initialize(struct pei_data *pei_data)
post_code(POST_RESUME_FAILURE);
printk(BIOS_DEBUG, "Giving up in sdram_initialize: "
"No MRC data\n");
- outb(0x6, 0xcf9);
- halt();
+ system_reset();
}
/* Pass console handler in pei_data */