diff options
author | stefanct <stefanct@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2013-07-25 22:58:56 +0000 |
---|---|---|
committer | stefanct <stefanct@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2013-07-25 22:58:56 +0000 |
commit | f4a9e75f3aa860a4e311edc4c78462d24a5e94c1 (patch) | |
tree | 26b1a82d5a33ea45f5fe0d02cdab4b5f5ab36e7a /programmer.h | |
parent | b7991ca725c6c4a88a091e32e1c339020aa37259 (diff) | |
download | flashrom-f4a9e75f3aa860a4e311edc4c78462d24a5e94c1.tar.gz |
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 <r.marek@assembler.cz>
Signed-off-by: Stefan Tauner <stefan.tauner@student.tuwien.ac.at>
Acked-by: Stefan Tauner <stefan.tauner@student.tuwien.ac.at>
Acked-by: David Hendricks <dhendrix@google.com>
git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1704 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'programmer.h')
-rw-r--r-- | programmer.h | 3 |
1 files changed, 3 insertions, 0 deletions
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); |