From: Dmitry Lifshitz Date: Wed, 30 Jul 2014 10:19:05 +0000 (+0300) Subject: env_mmc: add mmc_get_env_addr() prototype X-Git-Tag: v2014.10-rc1~10 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ac77f42d0939f05b39335277b678859b47edb997;p=u-boot env_mmc: add mmc_get_env_addr() prototype Add missing mmc_get_env_addr() prototype in environment.h Signed-off-by: Dmitry Lifshitz Acked-by: Pantelis Antoniou --- diff --git a/include/environment.h b/include/environment.h index 08679aead9..d7a1adf716 100644 --- a/include/environment.h +++ b/include/environment.h @@ -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 + +extern int mmc_get_env_addr(struct mmc *mmc, int copy, u32 *env_addr); +#endif + #ifndef DO_DEPS_ONLY #include