From 20710100e480543d36b76845c52cdec382f2b43a Mon Sep 17 00:00:00 2001 From: Terry Lv Date: Tue, 10 Nov 2009 22:29:11 +0800 Subject: ENGR00118294: Misc changes for v2009.08 upgrade. Misc changes for v2009.08 upgrade. Signed-off-by: Terry Lv --- include/environment.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'include/environment.h') diff --git a/include/environment.h b/include/environment.h index 4d13437..e0759ae 100644 --- a/include/environment.h +++ b/include/environment.h @@ -97,17 +97,14 @@ #endif /* CONFIG_ENV_IS_IN_MG_DISK */ #if defined(CONFIG_ENV_IS_IN_MMC) -#ifndef CONFIG_MMC_BASE -# error "Need to define CONFIG_MMC_BASE when using CONFIG_ENV_IS_IN_MMC" -#endif # ifndef CONFIG_ENV_OFFSET # error "Need to define CONFIG_ENV_OFFSET when using CONFIG_ENV_IS_IN_MMC" # endif # ifndef CONFIG_ENV_ADDR -# define CONFIG_ENV_ADDR (CONFIG_MMC_BASE + CONFIG_ENV_OFFSET) +# define CONFIG_ENV_ADDR (CONFIG_ENV_OFFSET) # endif # ifndef CONFIG_ENV_OFFSET -# define CONFIG_ENV_OFFSET (CONFIG_ENV_ADDR - CONFIG_MMC_BASE) +# define CONFIG_ENV_OFFSET (CONFIG_ENV_ADDR) # endif # ifdef CONFIG_ENV_OFFSET_REDUND # define CONFIG_SYS_REDUNDAND_ENVIRONMENT -- cgit v1.1