[U-Boot] [PATCH 09/25] x86: ich-spi: Add Intel Tunnel Creek SPI controller support

Bin Meng bmeng.cn at gmail.com
Thu Dec 4 16:01:38 CET 2014


Add Intel Tunnel Creek SPI controller support which is an ICH7
compatible device.

Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
---
 drivers/spi/ich.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/spi/ich.c b/drivers/spi/ich.c
index f5c6f3e..0e00edf 100644
--- a/drivers/spi/ich.c
+++ b/drivers/spi/ich.c
@@ -158,7 +158,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 &&
-- 
1.8.2.1



More information about the U-Boot mailing list