]> git.sur5r.net Git - u-boot/blobdiff - include/mmc.h
Convert CONFIG_ENV_IS_IN_DATAFLASH to Kconfig
[u-boot] / include / mmc.h
index 6a0ea0af21735c9fbfc880808ea7ebfc6fe4d70b..00576fa3d0a39aa7e28a1b42cb0438ae26ee572a 100644 (file)
@@ -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