diff options
author | Simon Glass <sjg@chromium.org> | 2017-04-09 18:38:21 -0600 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2017-05-17 17:13:06 +0800 |
commit | ddb3ac3c716f56cead695444e65a7ba7b0946555 (patch) | |
tree | 16e5e4c4e0e8c6fe501891a6e70f18414d911a0b /arch/x86/cpu/quark | |
parent | 13c9d8482528b466a8c7b42be8baa33bafb08b0b (diff) | |
download | u-boot-ddb3ac3c716f56cead695444e65a7ba7b0946555.tar.gz u-boot-ddb3ac3c716f56cead695444e65a7ba7b0946555.tar.xz u-boot-ddb3ac3c716f56cead695444e65a7ba7b0946555.zip |
x86: Convert MMC to driver model
Convert the pci_mmc driver over to driver model and migrate all x86 boards
that use it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/cpu/quark')
-rw-r--r-- | arch/x86/cpu/quark/quark.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/x86/cpu/quark/quark.c b/arch/x86/cpu/quark/quark.c index 0c2cea4ee9..c36a5892d5 100644 --- a/arch/x86/cpu/quark/quark.c +++ b/arch/x86/cpu/quark/quark.c @@ -16,11 +16,6 @@ #include <asm/arch/msg_port.h> #include <asm/arch/quark.h> -static struct pci_device_id mmc_supported[] = { - { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_QRK_SDIO }, - {}, -}; - static void quark_setup_mtrr(void) { u32 base, mask; @@ -328,11 +323,6 @@ int arch_early_init_r(void) return 0; } -int cpu_mmc_init(bd_t *bis) -{ - return pci_mmc_init("Quark SDHCI", mmc_supported); -} - int arch_misc_init(void) { #ifdef CONFIG_ENABLE_MRC_CACHE |