From f4a9e75f3aa860a4e311edc4c78462d24a5e94c1 Mon Sep 17 00:00:00 2001 From: stefanct Date: Thu, 25 Jul 2013 22:58:56 +0000 Subject: sbxxx: Handle active IMCs in AMD chipsets. Detect and temporarily disable the IMC while accessing the flash. Disable writes on default, but allow the user to enforce it. Signed-off-by: Rudolf Marek Signed-off-by: Stefan Tauner Acked-by: Stefan Tauner Acked-by: David Hendricks git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1704 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- programmer.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'programmer.h') diff --git a/programmer.h b/programmer.h index db914cb..f03eac3 100644 --- a/programmer.h +++ b/programmer.h @@ -572,6 +572,9 @@ int ich_init_spi(struct pci_dev *dev, uint32_t base, void *rcrb, enum ich_chipset ich_generation); int via_init_spi(struct pci_dev *dev, uint32_t mmio_base); +/* imc.c */ +int amd_imc_shutdown(struct pci_dev *dev); + /* it85spi.c */ int it85xx_spi_init(struct superio s); -- cgit v1.2.1