Browse Source

mmc: add prototype for mmc_get_env_addr

Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Jeroen Hofstee 10 năm trước cách đây
mục cha
commit
aeb8055584
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      include/mmc.h

+ 1 - 0
include/mmc.h

@@ -387,6 +387,7 @@ int mmc_legacy_init(int verbose);
 
 
 int board_mmc_init(bd_t *bis);
 int board_mmc_init(bd_t *bis);
 int cpu_mmc_init(bd_t *bis);
 int cpu_mmc_init(bd_t *bis);
+int mmc_get_env_addr(struct mmc *mmc, int copy, u32 *env_addr);
 
 
 /* Set block count limit because of 16 bit register limit on some hardware*/
 /* Set block count limit because of 16 bit register limit on some hardware*/
 #ifndef CONFIG_SYS_MMC_MAX_BLK_COUNT
 #ifndef CONFIG_SYS_MMC_MAX_BLK_COUNT