HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/32378
Change subject: ich7/i945: Use do_system_reset() ......................................................................
ich7/i945: Use do_system_reset()
Use already defined do_system_reset() function.
Change-Id: Ieff4271c4a09d564d5f3415d8bc2c3843c8460f2 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/northbridge/intel/i945/early_init.c 1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/78/32378/1
diff --git a/src/northbridge/intel/i945/early_init.c b/src/northbridge/intel/i945/early_init.c index 0c92c4b..08a818c 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 @@ reg32 &= ~(7 << 0); reg32 |= (3 << 0); DMIBAR32(0x224) = reg32; - outb(0x06, 0xcf9); - halt(); /* wait for reset */ + do_system_reset(); } } }