From 3a76ab5c166d5956885f803ce975e7151cc0ca0e Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Wed, 10 Jun 2009 00:15:11 +0200 Subject: rmu board: fix error: 'CONFIG_ENV_SECT_SIZE' undeclared Signed-off-by: Wolfgang Denk --- include/configs/rmu.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/configs/rmu.h') diff --git a/include/configs/rmu.h b/include/configs/rmu.h index d88ae81ff..026826b86 100644 --- a/include/configs/rmu.h +++ b/include/configs/rmu.h @@ -190,7 +190,8 @@ #define CONFIG_ENV_IS_IN_FLASH 1 #define CONFIG_ENV_ADDR ((TEXT_BASE) + 0x40000) -#define CONFIG_ENV_SIZE 0x40000 /* Total Size of Environment Sector */ +#define CONFIG_ENV_SECT_SIZE 0x40000 /* Total Size of Environment Sector */ +#define CONFIG_ENV_SIZE CONFIG_ENV_SECT_SIZE /* Used size for environment */ /* Address and size of Redundant Environment Sector */ #define CONFIG_ENV_ADDR_REDUND (CONFIG_ENV_ADDR+CONFIG_ENV_SIZE) -- cgit v1.2.3