From b286da7ffc0dd978bb6efe4530c3e904b57c4aca Mon Sep 17 00:00:00 2001 From: David Hendricks Date: Mon, 13 Feb 2012 00:35:35 +0000 Subject: 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. Corresponding to flashrom svn r1492. Signed-off-by: David Hendricks Acked-by: David Hendricks Tested-by: Timo Juhani Lindfors Acked-by: Carl-Daniel Hailfinger --- programmer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'programmer.h') 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); -- cgit v1.1