]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
env_mmc: add mmc_get_env_addr() prototype
authorDmitry Lifshitz <lifshitz@compulab.co.il>
Wed, 30 Jul 2014 10:19:05 +0000 (13:19 +0300)
committerPantelis Antoniou <panto@antoniou-consulting.com>
Fri, 1 Aug 2014 17:11:59 +0000 (20:11 +0300)
Add missing mmc_get_env_addr() prototype in environment.h

Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com>
include/environment.h

index 08679aead95cca90fd4f178d2c5b36e61b061b8e..d7a1adf716f0e1c0a129eeaeb5c701a39338718f 100644 (file)
@@ -180,6 +180,12 @@ extern unsigned char env_get_char_spec(int);
 extern void env_reloc(void);
 #endif
 
+#ifdef CONFIG_ENV_IS_IN_MMC
+#include <mmc.h>
+
+extern int mmc_get_env_addr(struct mmc *mmc, int copy, u32 *env_addr);
+#endif
+
 #ifndef DO_DEPS_ONLY
 
 #include <env_attr.h>