diff options
author | Rajesh Bhagat <rajesh.bhagat@nxp.com> | 2019-01-12 07:30:51 +0000 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2019-01-17 13:16:31 -0800 |
commit | 43d17c485fc2f710a8e3fa7bb8df320f67ac93fa (patch) | |
tree | ce077df1ee293d17b46c3ddba50388551bdb8535 /include/environment.h | |
parent | 1908201caeca1a1bf63a112dfb1fc1fbc445e4d0 (diff) | |
download | u-boot-43d17c485fc2f710a8e3fa7bb8df320f67ac93fa.tar.gz |
env: fix allow to build multiple environments
Patch fixes build error when enabling CONFIG_ENV_IS_IN_SPI_FLAS
and CONFIG_ENV_IS_IN_MMC at the same time mentioned issue in
below link:
Refer: https://lists.denx.de/pipermail/u-boot/2018-February/319565.html
build error when enabling CONFIG_ENV_IS_IN_SPI_FLASH and
CONFIG_ENV_IS_IN_MMC at the same time.
Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'include/environment.h')
-rw-r--r-- | include/environment.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/environment.h b/include/environment.h index 7da1291d5b..cd96676141 100644 --- a/include/environment.h +++ b/include/environment.h @@ -162,15 +162,6 @@ extern const unsigned char default_environment[]; 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); -# ifdef CONFIG_SYS_MMC_ENV_PART -extern uint mmc_get_env_part(struct mmc *mmc); -# endif -#endif - #ifndef DO_DEPS_ONLY #include <env_attr.h> |