From: Bin Meng Date: Fri, 12 Dec 2014 13:05:27 +0000 (+0800) Subject: x86: ich-spi: Add Intel Tunnel Creek SPI controller support X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7e7740397dc9405a8ed6299e8ebc8170142ccae7;p=project%2Fbcm63xx%2Fu-boot.git x86: ich-spi: Add Intel Tunnel Creek SPI controller support Add Intel Tunnel Creek SPI controller support which is an ICH7 compatible device. Signed-off-by: Bin Meng Acked-by: Simon Glass --- diff --git a/drivers/spi/ich.c b/drivers/spi/ich.c index 16730ec33f..0379444872 100644 --- a/drivers/spi/ich.c +++ b/drivers/spi/ich.c @@ -167,7 +167,8 @@ void spi_free_slave(struct spi_slave *slave) */ static int get_ich_version(uint16_t device_id) { - if (device_id == PCI_DEVICE_ID_INTEL_TGP_LPC) + if (device_id == PCI_DEVICE_ID_INTEL_TGP_LPC || + device_id == PCI_DEVICE_ID_INTEL_ITC_LPC) return 7; if ((device_id >= PCI_DEVICE_ID_INTEL_COUGARPOINT_LPC_MIN &&