X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fenvironment.h;h=1fdbdad882227cfad5d7cfa8cea1a75065e8ee70;hb=c69d2e57616f20eb1989cfe235ee036a26c78d5a;hp=08679aead95cca90fd4f178d2c5b36e61b061b8e;hpb=e7f9350525d73233d4eaf1793f8fe618e9fd4910;p=oweals%2Fu-boot.git 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