]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/mmc.h
mmc: add function to get the number of available mmc interfaces
[karo-tx-uboot.git] / include / mmc.h
index 09101e2c87a11cfa76c0412c92dd5e9b6eb5ab00..c0bcfb90762dc42fada8047eb0a34b3d50bed5ce 100644 (file)
@@ -373,6 +373,7 @@ struct mmc *find_mmc_device(int dev_num);
 int mmc_set_dev(int dev_num);
 void print_mmc_devices(char separator);
 int get_mmc_num(void);
+int get_mmc_dev_count(void);
 int mmc_switch_part(int dev_num, unsigned int part_num);
 int mmc_hwpart_config(struct mmc *mmc, const struct mmc_hwpart_conf *conf,
                      enum mmc_hwpart_conf_mode mode);