mmc: add mmc_legacy_init() in header file 63/152863/5
authorJaehoon Chung <jh80.chung@samsung.com>
Wed, 27 Sep 2017 08:01:34 +0000 (17:01 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 29 Sep 2017 09:57:11 +0000 (18:57 +0900)
mmc_legacy_init() is used when CONFIG_EMMC_BOOT is enabled.
Add the mmc_legacy_init() in header file.

Change-Id: I96aaee67ee511a484a812f4fe2afa9f4bc3d0620
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
include/mmc.h

index 8cda944..3e5ec5c 100644 (file)
@@ -303,6 +303,9 @@ void print_mmc_devices(char separator);
 int board_mmc_getcd(u8 *cd, struct mmc *mmc);
 
 #ifdef CONFIG_GENERIC_MMC
+#ifdef CONFIG_EMMC_BOOT
+int mmc_legacy_init(int dev);
+#endif
 int atmel_mci_init(void *regs);
 #else
 int mmc_legacy_init(int verbose);