nb/via/vx900: Use CF9 reset

Implement board_reset() as "system reset".

Change-Id: I2b68a23cdf244884104d4ed54e19d3ab347c3a3e
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/29055
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Nico Huber 2018-10-06 18:01:30 +02:00 committed by Patrick Georgi
parent f677d17ab3
commit 68dd00d634
2 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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)