]> git.sur5r.net Git - u-boot/commitdiff
rmu board: fix error: 'CONFIG_ENV_SECT_SIZE' undeclared
authorWolfgang Denk <wd@denx.de>
Tue, 9 Jun 2009 22:15:11 +0000 (00:15 +0200)
committerWolfgang Denk <wd@denx.de>
Tue, 9 Jun 2009 22:15:11 +0000 (00:15 +0200)
Signed-off-by: Wolfgang Denk <wd@denx.de>
include/configs/rmu.h

index d88ae81ffe9ad6cea7d0eeddf752d8bf6386db03..026826b86c508680dadf5482a4d0958194a78886 100644 (file)
 
 #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)