sb/amd/cimx/sb[89]00: Use CF9 reset
Implement board_reset() as "system reset". Change-Id: I2d277b0845b4e8977b68892c2e5e00d8918e063f Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/29056 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
committed by
Patrick Georgi
parent
68dd00d634
commit
3e1b3b1f4f
@@ -18,11 +18,11 @@
|
||||
|
||||
#include <arch/io.h>
|
||||
#include <cbmem.h>
|
||||
#include <cf9_reset.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci_def.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include <halt.h>
|
||||
#include <reset.h>
|
||||
#include <smp/node.h>
|
||||
#include <northbridge/amd/agesa/state_machine.h>
|
||||
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||
@@ -46,7 +46,7 @@ void platform_BeforeInitReset(struct sysinfo *cb, AMD_RESET_PARAMS *Reset)
|
||||
u32 mct_cfg_lo = pci_read_config32(dev, 0x118);
|
||||
if (mct_cfg_lo & (1<<19)) {
|
||||
printk(BIOS_CRIT, "C6DramLock is set, resetting\n");
|
||||
hard_reset();
|
||||
system_reset();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user