x86: baytrail: Add 2nd eMMC controller to the PCI probe list
PATCH v2 1/1 x86: baytrail: Add 2nd eMMC controller to the PCI probe list
With this addition, the eMMC device available on the congatec and DFI BayTrail SoM is detected correctly.
---
v2:
- Change VALLEYVIEW macros to also use BYT names, to match the naming of the Linux SHDCI device driver
arch/x86/cpu/baytrail/valleyview.c | 5 +++-- include/pci_ids.h | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-)
arch/x86/cpu/baytrail/valleyview.c +3 -2
@@ -12,8 +12,9 @@#include <asm/post.h> static struct pci_device_id mmc_supported[] = { - {PCI_VENDOR_ID_INTEL ,PCI_DEVICE_ID_INTEL_VALLEYVIEW_SDIO }, - {PCI_VENDOR_ID_INTEL ,PCI_DEVICE_ID_INTEL_VALLEYVIEW_SDCARD }, + {PCI_VENDOR_ID_INTEL ,PCI_DEVICE_ID_INTEL_BYT_SDIO }, + {PCI_VENDOR_ID_INTEL ,PCI_DEVICE_ID_INTEL_BYT_SD }, + {PCI_VENDOR_ID_INTEL ,PCI_DEVICE_ID_INTEL_BYT_EMMC2 }, {}, };
include/pci_ids.h +3 -2
@@ -2599,13 +2599,14 @@#define PCI_DEVICE_ID_INTEL_I960 0x0960#define PCI_DEVICE_ID_INTEL_I960RM 0x0962#define PCI_DEVICE_ID_INTEL_CENTERTON_ILB 0x0c60 -#define PCI_DEVICE_ID_INTEL_VALLEYVIEW_SDIO 0x0f15 -#define PCI_DEVICE_ID_INTEL_VALLEYVIEW_SDCARD 0x0f16 +#define PCI_DEVICE_ID_INTEL_BYT_SDIO 0x0f15 +#define PCI_DEVICE_ID_INTEL_BYT_SD 0x0f16#define PCI_DEVICE_ID_INTEL_VALLEYVIEW_LPC 0x0f1c#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_BYT_EMMC2 0x0f50#define PCI_DEVICE_ID_INTEL_82541ER 0x1078#define PCI_DEVICE_ID_INTEL_82541GI_LF 0x107c#define PCI_DEVICE_ID_INTEL_82542 0x1000
Signature · 1 line
2.9.3
PATCH v2 1/1 x86: baytrail: Add 2nd eMMC controller to the PCI probe list
Quoted 6 lines · Stefan Roese
With this addition, the eMMC device available on the congatec and DFI BayTrail SoM is detected correctly.
Signed-off-by Stefan Roese <[email protected]>Cc Simon Glass <[email protected]>Cc Bin Meng <[email protected]>
Quoted 9 lines
---
v2:
- Change VALLEYVIEW macros to also use BYT names, to match the naming of the Linux SHDCI device driverarch/x86/cpu/baytrail/valleyview.c | 5 +++-- include/pci_ids.h | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-)
PATCH v2 1/1 x86: baytrail: Add 2nd eMMC controller to the PCI probe list
Quoted 12 lines · Bin Meng
Quoted 11 lines · Stefan Roese
With this addition, the eMMC device available on the congatec and DFI BayTrail SoM is detected correctly.
Signed-off-by Stefan Roese <[email protected]>Cc Simon Glass <[email protected]>Cc Bin Meng <[email protected]>---
v2:
- Change VALLEYVIEW macros to also use BYT names, to match the naming of the Linux SHDCI device driver
Quoted 6 lines
Quoted 4 lines
arch/x86/cpu/baytrail/valleyview.c | 5 +++-- include/pci_ids.h | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-)Reviewed-by Bin Meng <[email protected]>
applied to u-boot-x86, thanks!