X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Fenvironment.h;h=1fdbdad882227cfad5d7cfa8cea1a75065e8ee70;hb=803d6d6c63dbe9040b237544c7e24405bb32dd42;hp=08679aead95cca90fd4f178d2c5b36e61b061b8e;hpb=d2a3e911390f9fc4d8c0ee4b3c7fc75f4fd3fd19;p=karo-tx-uboot.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