summaryrefslogtreecommitdiff
path: root/programmer.h
diff options
context:
space:
mode:
authorhailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2012-02-13 00:35:35 +0000
committerhailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2012-02-13 00:35:35 +0000
commit8e8bfa29c1fa3cb318bf893beaa62ac84b38c814 (patch)
tree95734984a923e7da1c7e20d39c5202a6a715e703 /programmer.h
parent393df8abd8616f033d4aec169d18674e38d63cfc (diff)
downloadflashrom-8e8bfa29c1fa3cb318bf893beaa62ac84b38c814.tar.gz
Support compilation for the ARM architecture (little-endian only).
Note: The internal programmer will abort during processor check. This is intentional. The other hardware drivers (except those using port I/O) should work. Signed-off-by: David Hendricks <dhendrix@google.com> Acked-by: David Hendricks <dhendrix@google.com> Tested-by: Timo Juhani Lindfors <timo.lindfors@iki.fi> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1492 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'programmer.h')
-rw-r--r--programmer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/programmer.h b/programmer.h
index 6f69db1..240e1af 100644
--- a/programmer.h
+++ b/programmer.h
@@ -527,6 +527,7 @@ int default_spi_write_256(struct flashctx *flash, uint8_t *buf, unsigned int sta
int register_spi_programmer(const struct spi_programmer *programmer);
/* ichspi.c */
+#if CONFIG_INTERNAL == 1
enum ich_chipset {
CHIPSET_ICH_UNKNOWN,
CHIPSET_ICH7 = 7,
@@ -538,7 +539,6 @@ enum ich_chipset {
CHIPSET_7_SERIES_PANTHER_POINT
};
-#if CONFIG_INTERNAL == 1
extern uint32_t ichspi_bbar;
int ich_init_spi(struct pci_dev *dev, uint32_t base, void *rcrb,
enum ich_chipset ich_generation);