Commit 24357dfd2aec4118b9178d8bf639fb8fc02e1859
1 parent
b7c6baef28
Exists in
smarc_8mq_lf_v2020.04
and in
17 other branches
x86: Switch all boards to use DM SCSI
After MMC is converted to DM, convert to use DM SCSI as well for all x86 boards and imply BLK for both MMC and SCSI drivers. CONFIG_SCSI_DEV_LIST is no longer used. Clean them up. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Showing 20 changed files with 8 additions and 53 deletions Side-by-side Diff
- arch/Kconfig
- arch/x86/cpu/baytrail/Kconfig
- arch/x86/cpu/broadwell/Kconfig
- arch/x86/cpu/coreboot/Kconfig
- arch/x86/cpu/ivybridge/Kconfig
- arch/x86/cpu/qemu/Kconfig
- arch/x86/cpu/queensbay/Kconfig
- configs/chromebook_link64_defconfig
- configs/chromebook_link_defconfig
- configs/chromebox_panther_defconfig
- include/configs/bayleybay.h
- include/configs/conga-qeval20-qa3-e3845.h
- include/configs/cougarcanyon2.h
- include/configs/crownbay.h
- include/configs/dfi-bt700.h
- include/configs/minnowmax.h
- include/configs/qemu-x86.h
- include/configs/som-6896.h
- include/configs/som-db5800-som-6867.h
- include/configs/x86-chromebook.h
arch/Kconfig
... | ... | @@ -95,12 +95,14 @@ |
95 | 95 | select PCI |
96 | 96 | select TIMER |
97 | 97 | select X86_TSC_TIMER |
98 | + imply BLK | |
98 | 99 | imply DM_ETH |
99 | 100 | imply DM_GPIO |
100 | 101 | imply DM_KEYBOARD |
101 | 102 | imply DM_MMC |
102 | 103 | imply DM_RTC |
103 | 104 | imply DM_SERIAL |
105 | + imply DM_SCSI | |
104 | 106 | imply DM_SPI |
105 | 107 | imply DM_SPI_FLASH |
106 | 108 | imply DM_USB |
arch/x86/cpu/baytrail/Kconfig
arch/x86/cpu/broadwell/Kconfig
arch/x86/cpu/coreboot/Kconfig
arch/x86/cpu/ivybridge/Kconfig
arch/x86/cpu/qemu/Kconfig
arch/x86/cpu/queensbay/Kconfig
configs/chromebook_link64_defconfig
configs/chromebook_link_defconfig
configs/chromebox_panther_defconfig
include/configs/bayleybay.h
... | ... | @@ -19,10 +19,6 @@ |
19 | 19 | "stdout=serial,vidconsole\0" \ |
20 | 20 | "stderr=serial,vidconsole\0" |
21 | 21 | |
22 | -#define CONFIG_SCSI_DEV_LIST \ | |
23 | - {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA}, \ | |
24 | - {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA_ALT} | |
25 | - | |
26 | 22 | /* Environment configuration */ |
27 | 23 | #define CONFIG_ENV_SECT_SIZE 0x1000 |
28 | 24 | #define CONFIG_ENV_OFFSET 0x006ff000 |
include/configs/conga-qeval20-qa3-e3845.h
... | ... | @@ -19,10 +19,6 @@ |
19 | 19 | "stdout=serial\0" \ |
20 | 20 | "stderr=serial\0" |
21 | 21 | |
22 | -#define CONFIG_SCSI_DEV_LIST \ | |
23 | - {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA}, \ | |
24 | - {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA_ALT} | |
25 | - | |
26 | 22 | #define VIDEO_IO_OFFSET 0 |
27 | 23 | #define CONFIG_X86EMU_RAW_IO |
28 | 24 |
include/configs/cougarcanyon2.h
... | ... | @@ -17,9 +17,6 @@ |
17 | 17 | "stdout=serial,vga\0" \ |
18 | 18 | "stderr=serial,vga\0" |
19 | 19 | |
20 | -#define CONFIG_SCSI_DEV_LIST \ | |
21 | - {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_PANTHERPOINT_AHCI_MOBILE} | |
22 | - | |
23 | 20 | /* Environment configuration */ |
24 | 21 | #define CONFIG_ENV_SECT_SIZE 0x1000 |
25 | 22 | #define CONFIG_ENV_OFFSET 0x5ff000 |
include/configs/crownbay.h
... | ... | @@ -21,9 +21,6 @@ |
21 | 21 | "stdout=serial,vidconsole\0" \ |
22 | 22 | "stderr=serial,vidconsole\0" |
23 | 23 | |
24 | -#define CONFIG_SCSI_DEV_LIST \ | |
25 | - {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_TCF_SATA} | |
26 | - | |
27 | 24 | /* Environment configuration */ |
28 | 25 | #define CONFIG_ENV_SECT_SIZE 0x1000 |
29 | 26 | #define CONFIG_ENV_OFFSET 0 |
include/configs/dfi-bt700.h
... | ... | @@ -24,10 +24,6 @@ |
24 | 24 | "stdout=serial\0" \ |
25 | 25 | "stderr=serial\0" |
26 | 26 | |
27 | -#define CONFIG_SCSI_DEV_LIST \ | |
28 | - {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA}, \ | |
29 | - {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA_ALT} | |
30 | - | |
31 | 27 | #define CONFIG_USB_HOST_ETHER |
32 | 28 | #define CONFIG_USB_ETHER_ASIX |
33 | 29 | #define CONFIG_USB_ETHER_SMSC95XX |
include/configs/minnowmax.h
... | ... | @@ -22,10 +22,6 @@ |
22 | 22 | "stderr=vidconsole,serial\0" \ |
23 | 23 | "usb_pgood_delay=40\0" |
24 | 24 | |
25 | -#define CONFIG_SCSI_DEV_LIST \ | |
26 | - {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA}, \ | |
27 | - {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA_ALT} | |
28 | - | |
29 | 25 | #define VIDEO_IO_OFFSET 0 |
30 | 26 | #define CONFIG_X86EMU_RAW_IO |
31 | 27 |
include/configs/qemu-x86.h
... | ... | @@ -23,11 +23,7 @@ |
23 | 23 | * ATA/SATA support for QEMU x86 targets |
24 | 24 | * - Only legacy IDE controller is supported for QEMU '-M pc' target |
25 | 25 | * - AHCI controller is supported for QEMU '-M q35' target |
26 | - * | |
27 | - * Default configuraion is to support the QEMU default x86 target | |
28 | - * Undefine CONFIG_IDE to support q35 target | |
29 | 26 | */ |
30 | -#ifdef CONFIG_IDE | |
31 | 27 | #define CONFIG_SYS_IDE_MAXBUS 2 |
32 | 28 | #define CONFIG_SYS_IDE_MAXDEVICE 4 |
33 | 29 | #define CONFIG_SYS_ATA_BASE_ADDR 0 |
... | ... | @@ -37,12 +33,6 @@ |
37 | 33 | #define CONFIG_SYS_ATA_IDE0_OFFSET 0x1f0 |
38 | 34 | #define CONFIG_SYS_ATA_IDE1_OFFSET 0x170 |
39 | 35 | #define CONFIG_ATAPI |
40 | - | |
41 | -#undef CONFIG_SCSI_AHCI | |
42 | -#else | |
43 | -#define CONFIG_SCSI_DEV_LIST \ | |
44 | - {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH9_AHCI} | |
45 | -#endif | |
46 | 36 | |
47 | 37 | /* SPI is not supported */ |
48 | 38 |
include/configs/som-6896.h
include/configs/som-db5800-som-6867.h
... | ... | @@ -19,10 +19,6 @@ |
19 | 19 | "stdout=serial,vidconsole\0" \ |
20 | 20 | "stderr=serial,vidconsole\0" |
21 | 21 | |
22 | -#define CONFIG_SCSI_DEV_LIST \ | |
23 | - {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA}, \ | |
24 | - {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA_ALT} | |
25 | - | |
26 | 22 | #define VIDEO_IO_OFFSET 0 |
27 | 23 | #define CONFIG_X86EMU_RAW_IO |
28 | 24 |
include/configs/x86-chromebook.h
... | ... | @@ -15,14 +15,6 @@ |
15 | 15 | #define CONFIG_X86_REFCODE_ADDR 0xffea0000 |
16 | 16 | #define CONFIG_X86_REFCODE_RUN_ADDR 0 |
17 | 17 | |
18 | -#define CONFIG_SCSI_DEV_LIST \ | |
19 | - {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_NM10_AHCI}, \ | |
20 | - {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_COUGARPOINT_AHCI_MOBILE}, \ | |
21 | - {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_COUGARPOINT_AHCI_SERIES6}, \ | |
22 | - {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_PANTHERPOINT_AHCI_MOBILE}, \ | |
23 | - {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_LYNXPOINT_AHCI}, \ | |
24 | - {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_WILDCATPOINT_AHCI} | |
25 | - | |
26 | 18 | #define CONFIG_PCI_MEM_BUS 0xe0000000 |
27 | 19 | #define CONFIG_PCI_MEM_PHYS CONFIG_PCI_MEM_BUS |
28 | 20 | #define CONFIG_PCI_MEM_SIZE 0x10000000 |