summaryrefslogtreecommitdiffstats
path: root/include/mmc.h
diff options
context:
space:
mode:
authorJeroen Hofstee <jeroen@myspectrum.nl>2014-07-12 21:24:08 +0200
committerTom Rini <trini@ti.com>2014-07-18 17:53:24 -0400
commit750121c3506399e758849a4f37c772c3f317045f (patch)
treed8c8231b7af9fdd5a70bb130a12daf38064fc4cf /include/mmc.h
parent0b7df656570e9126616529d03d99261956081bc4 (diff)
downloadblackbird-obmc-uboot-750121c3506399e758849a4f37c772c3f317045f.tar.gz
blackbird-obmc-uboot-750121c3506399e758849a4f37c772c3f317045f.zip
mmc: prevent some warnings with make W=1
Add missing prototypes for global functions and make local functions static. cc: panto@antoniou-consulting.com Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Diffstat (limited to 'include/mmc.h')
-rw-r--r--include/mmc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/mmc.h b/include/mmc.h
index f46572e177..7f5f9bc8ca 100644
--- a/include/mmc.h
+++ b/include/mmc.h
@@ -327,10 +327,11 @@ 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 board_mmc_getcd(struct mmc *mmc);
int mmc_switch_part(int dev_num, unsigned int part_num);
int mmc_getcd(struct mmc *mmc);
+int board_mmc_getcd(struct mmc *mmc);
int mmc_getwp(struct mmc *mmc);
+int board_mmc_getwp(struct mmc *mmc);
int mmc_set_dsr(struct mmc *mmc, u16 val);
/* Function to change the size of boot partition and rpmb partitions */
int mmc_boot_partition_size_change(struct mmc *mmc, unsigned long bootsize,
@@ -385,6 +386,7 @@ int mmc_legacy_init(int verbose);
#endif
int board_mmc_init(bd_t *bis);
+int cpu_mmc_init(bd_t *bis);
/* Set block count limit because of 16 bit register limit on some hardware*/
#ifndef CONFIG_SYS_MMC_MAX_BLK_COUNT
OpenPOWER on IntegriCloud