diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2019-04-28 18:01:48 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2019-04-29 15:58:24 +0000 |
commit | 82d4642805bb3d5018e2580c4a7edfc6bdb9138a (patch) | |
tree | fb9c7be8939556f675a6da7e92a5e32bccaa0240 /src/northbridge | |
parent | b559b3c78548c5b9089bed39c89ff72535f07814 (diff) | |
download | coreboot-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')
-rw-r--r-- | src/northbridge/intel/haswell/raminit.c | 4 |
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 */ |