summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2014-12-12 21:05:27 +0800
committerSimon Glass <sjg@chromium.org>2014-12-13 22:32:05 -0700
commit7e7740397dc9405a8ed6299e8ebc8170142ccae7 (patch)
treea05b884e36c790f623df00b408f0db867189d427 /drivers
parent936248d92f3afb6ec2447f3eccbf9b425dc14b66 (diff)
downloadtalos-obmc-uboot-7e7740397dc9405a8ed6299e8ebc8170142ccae7.tar.gz
talos-obmc-uboot-7e7740397dc9405a8ed6299e8ebc8170142ccae7.zip
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 <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/spi/ich.c3
1 files changed, 2 insertions, 1 deletions
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 &&
OpenPOWER on IntegriCloud