diff options
author | Tom Rini <trini@konsulko.com> | 2017-06-27 09:33:10 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-06-27 09:33:10 -0400 |
commit | 08546df976b79b1694af3ff12b26baf2931f371a (patch) | |
tree | 253cc05daee7d9070850ff0f1dcbe15739235cfb /include | |
parent | 821560fd8e43eecc208c1c52ad24faadb6b52703 (diff) | |
parent | da2364cc14a0b34411c4a228ae687a23504afe04 (diff) | |
download | u-boot-08546df976b79b1694af3ff12b26baf2931f371a.tar.gz u-boot-08546df976b79b1694af3ff12b26baf2931f371a.tar.xz u-boot-08546df976b79b1694af3ff12b26baf2931f371a.zip |
Merge git://git.denx.de/u-boot-x86
Diffstat (limited to 'include')
-rw-r--r-- | include/mmc.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/mmc.h b/include/mmc.h index 6a0ea0af21..00576fa3d0 100644 --- a/include/mmc.h +++ b/include/mmc.h @@ -585,6 +585,18 @@ 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 |