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-Tag: v2015.01-rc4~25^2~7 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7e7740397dc9405a8ed6299e8ebc8170142ccae7;p=u-boot 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 &&