[U-Boot] [PATCH] x86: baytrail: Add all IDE/SATA PCI device IDs

Bin Meng bmeng.cn at gmail.com
Thu Aug 6 11:36:01 CEST 2015


The BayTrail SoC has 4 different PCI devices IDs regarding to IDE
and AHCI. Add these IDs in pci_ids.h and also add the other SATA
ID in the Bayley Bay and MinnowMax board configuration header.

Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
---

 include/configs/bayleybay.h | 3 ++-
 include/configs/minnowmax.h | 6 ++++--
 include/pci_ids.h           | 5 ++++-
 3 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/include/configs/bayleybay.h b/include/configs/bayleybay.h
index ecda4ba..c590f56 100644
--- a/include/configs/bayleybay.h
+++ b/include/configs/bayleybay.h
@@ -26,7 +26,8 @@
 					"stderr=serial,vga\0"
 
 #define CONFIG_SCSI_DEV_LIST		\
-	{PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA}
+	{PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA}, \
+	{PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA_ALT}
 
 #define CONFIG_MMC
 #define CONFIG_SDHCI
diff --git a/include/configs/minnowmax.h b/include/configs/minnowmax.h
index 2a40d1f..64fa676 100644
--- a/include/configs/minnowmax.h
+++ b/include/configs/minnowmax.h
@@ -26,8 +26,10 @@
 					"stdout=vga,serial\0" \
 					"stderr=vga,serial\0"
 
-#define CONFIG_SCSI_DEV_LIST            \
-	{PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA}
+#define CONFIG_SCSI_DEV_LIST		\
+	{PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA}, \
+	{PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA_ALT}
+
 #define CONFIG_SPI_FLASH_STMICRO
 
 #define CONFIG_MMC
diff --git a/include/pci_ids.h b/include/pci_ids.h
index 5771e12..49f7d7d 100644
--- a/include/pci_ids.h
+++ b/include/pci_ids.h
@@ -2602,7 +2602,10 @@
 #define PCI_DEVICE_ID_INTEL_VALLEYVIEW_SDIO	0x0f15
 #define PCI_DEVICE_ID_INTEL_VALLEYVIEW_SDCARD	0x0f16
 #define PCI_DEVICE_ID_INTEL_VALLEYVIEW_LPC	0x0f1c
-#define PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA	0x0f23
+#define PCI_DEVICE_ID_INTEL_VALLEYVIEW_IDE	0x0f20
+#define PCI_DEVICE_ID_INTEL_VALLEYVIEW_IDE_ALT	0x0f21
+#define PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA	0x0f22
+#define PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA_ALT	0x0f23
 #define PCI_DEVICE_ID_INTEL_82541ER	0x1078
 #define PCI_DEVICE_ID_INTEL_82541GI_LF	0x107c
 #define PCI_DEVICE_ID_INTEL_82542	0x1000
-- 
1.8.2.1



More information about the U-Boot mailing list