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(); } } }
Arthur Heymans has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32378 )
Change subject: ich7/i945: Use do_system_reset() ......................................................................
Patch Set 1: Code-Review+2
(1 comment)
https://review.coreboot.org/#/c/32378/1//COMMIT_MSG Commit Message:
https://review.coreboot.org/#/c/32378/1//COMMIT_MSG@9 PS1, Line 9: superfluous space.
Hello Patrick Rudolph, Arthur Heymans, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/32378
to look at the new patch set (#2).
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/2
Hello Patrick Rudolph, Arthur Heymans, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/32378
to look at the new patch set (#3).
Change subject: ich7/i945: Use system_reset() ......................................................................
ich7/i945: Use system_reset()
Use already defined 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/3
Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32378 )
Change subject: ich7/i945: Use system_reset() ......................................................................
Patch Set 3: Code-Review+2
Nico Huber has submitted this change and it was merged. ( https://review.coreboot.org/c/coreboot/+/32378 )
Change subject: ich7/i945: Use system_reset() ......................................................................
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 --- M src/northbridge/intel/i945/early_init.c 1 file changed, 2 insertions(+), 2 deletions(-)
Approvals: build bot (Jenkins): Verified Nico Huber: Looks good to me, approved
diff --git a/src/northbridge/intel/i945/early_init.c b/src/northbridge/intel/i945/early_init.c index 0c92c4b..a9de844 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 */ + system_reset(); } } }