X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fenvironment.h;h=1fdbdad882227cfad5d7cfa8cea1a75065e8ee70;hb=be0ecdbed5efc7833275701ebdb1ff8ef7ffd4c0;hp=08679aead95cca90fd4f178d2c5b36e61b061b8e;hpb=a26acb7dc946b2fe7fa25736928878f6adf88f46;p=u-boot diff --git a/include/environment.h b/include/environment.h index 08679aead9..1fdbdad882 100644 --- a/include/environment.h +++ b/include/environment.h @@ -180,6 +180,15 @@ 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); +# ifdef CONFIG_SYS_MMC_ENV_PART +extern uint mmc_get_env_part(struct mmc *mmc); +# endif +#endif + #ifndef DO_DEPS_ONLY #include