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 /include/mmc.h | |
parent | 13c9d8482528b466a8c7b42be8baa33bafb08b0b (diff) | |
download | u-boot-midas-ddb3ac3c716f56cead695444e65a7ba7b0946555.tar.gz u-boot-midas-ddb3ac3c716f56cead695444e65a7ba7b0946555.tar.bz2 u-boot-midas-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 'include/mmc.h')
-rw-r--r-- | include/mmc.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/mmc.h b/include/mmc.h index fad12d608c..8346b0e19e 100644 --- a/include/mmc.h +++ b/include/mmc.h @@ -585,18 +585,6 @@ int cpu_mmc_init(bd_t *bis); int mmc_get_env_addr(struct mmc *mmc, int copy, u32 *env_addr); int mmc_get_env_dev(void); -struct pci_device_id; - -/** - * pci_mmc_init() - set up PCI MMC devices - * - * This finds all the matching PCI IDs and sets them up as MMC devices. - * - * @name: Name to use for devices - * @mmc_supported: PCI IDs to search for, terminated by {0, 0} - */ -int pci_mmc_init(const char *name, struct pci_device_id *mmc_supported); - /* Set block count limit because of 16 bit register limit on some hardware*/ #ifndef CONFIG_SYS_MMC_MAX_BLK_COUNT #define CONFIG_SYS_MMC_MAX_BLK_COUNT 65535 |