diff options
-rw-r--r-- | src/northbridge/via/vx900/Kconfig | 2 | ||||
-rw-r--r-- | src/northbridge/via/vx900/northbridge.c | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/northbridge/via/vx900/Kconfig b/src/northbridge/via/vx900/Kconfig index b666767f92..8d95942866 100644 --- a/src/northbridge/via/vx900/Kconfig +++ b/src/northbridge/via/vx900/Kconfig @@ -20,7 +20,7 @@ config NORTHBRIDGE_VIA_VX900 select DRIVERS_GENERIC_IOAPIC select HAVE_DEBUG_RAM_SETUP select HAVE_DEBUG_SMBUS - select HAVE_HARD_RESET + select HAVE_CF9_RESET select NO_RELOCATABLE_RAMSTAGE if NORTHBRIDGE_VIA_VX900 diff --git a/src/northbridge/via/vx900/northbridge.c b/src/northbridge/via/vx900/northbridge.c index 66b2def370..a699d86ed1 100644 --- a/src/northbridge/via/vx900/northbridge.c +++ b/src/northbridge/via/vx900/northbridge.c @@ -23,6 +23,7 @@ #include <device/pci_ids.h> #include <cpu/cpu.h> #include <cbmem.h> +#include <cf9_reset.h> #include <lib.h> #include <reset.h> #include <string.h> @@ -43,9 +44,9 @@ static uint64_t uma_memory_size = 0; * remapping mechanism will overflow, the effects of which are unknown. */ -void do_hard_reset(void) +void do_board_reset(void) { - outb((1 << 2) | (1 << 1), 0xcf9); + system_reset(); } uint64_t get_uma_memory_base(void) |