diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2019-04-21 18:50:34 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2019-04-29 16:01:09 +0000 |
commit | 5db9871a5ec53dc9a1901133128c367974002ba0 (patch) | |
tree | 708e48b4d9664ddfbe61d0ae45b26b2e691446ae /src | |
parent | d07048a7f932aa779dc64d7c503df121c2a76f0b (diff) | |
download | coreboot-5db9871a5ec53dc9a1901133128c367974002ba0.tar.xz |
ich7/i945: Use system_reset()
Use already defined system_reset() function.
Change-Id: Ieff4271c4a09d564d5f3415d8bc2c3843c8460f2
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32378
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src')
-rw-r--r-- | src/northbridge/intel/i945/early_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/northbridge/intel/i945/early_init.c b/src/northbridge/intel/i945/early_init.c index 0c92c4bd7d..a9de844f15 100644 --- a/src/northbridge/intel/i945/early_init.c +++ b/src/northbridge/intel/i945/early_init.c @@ -15,6 +15,7 @@ #include <stdint.h> #include <stdlib.h> +#include <cf9_reset.h> #include <console/console.h> #include <arch/io.h> #include <device/pci_ops.h> @@ -518,8 +519,7 @@ static void i945_setup_dmi_rcrb(void) reg32 &= ~(7 << 0); reg32 |= (3 << 0); DMIBAR32(0x224) = reg32; - outb(0x06, 0xcf9); - halt(); /* wait for reset */ + system_reset(); } } } |