summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-06-10 00:15:11 +0200
committerWolfgang Denk <wd@denx.de>2009-06-10 00:15:11 +0200
commit3a76ab5c166d5956885f803ce975e7151cc0ca0e (patch)
tree423d5bce4c58d2af6467bcef93563c1e39e02184
parent165f9859b64ff59f0cfae3cc70a7e7ded7aaa4a7 (diff)
rmu board: fix error: 'CONFIG_ENV_SECT_SIZE' undeclared
Signed-off-by: Wolfgang Denk <wd@denx.de>
-rw-r--r--include/configs/rmu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/configs/rmu.h b/include/configs/rmu.h
index d88ae81ffe9..026826b86c5 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)