DaVinci Sonata: Fix Build Error
authorSandeep Paulraj <s-paulraj@ti.com>
Wed, 29 Dec 2010 19:42:56 +0000 (14:42 -0500)
committerAlbert Aribaud <albert.aribaud@free.fr>
Tue, 1 Feb 2011 23:54:44 +0000 (00:54 +0100)
Fix a build error in the DaVinci Sonata Board

Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
include/configs/davinci_sonata.h

index ebfdafa..2336129 100644 (file)
 #define CONFIG_SYS_MAX_FLASH_BANKS     1               /* max number of flash banks */
 #define CONFIG_SYS_FLASH_SECT_SZ       0x20000         /* 128KB sect size AMD Flash */
 #define CONFIG_ENV_OFFSET              (CONFIG_SYS_FLASH_SECT_SZ*2)
+#define CONFIG_ENV_SIZE                CONFIG_SYS_FLASH_SECT_SZ
 #define PHYS_FLASH_1           0x02000000      /* CS2 Base address      */
 #define CONFIG_SYS_FLASH_BASE          PHYS_FLASH_1    /* Flash Base for U-Boot */
 #define PHYS_FLASH_SIZE                0x2000000       /* Flash size 32MB       */