[U-Boot] [PATCH] DaVinci Sonata: Fix Build Error

s-paulraj at ti.com s-paulraj at ti.com
Wed Dec 29 20:43:25 CET 2010


From: Sandeep Paulraj <s-paulraj at ti.com>

Fix a build error in the DaVinci Sonata Board


Signed-off-by: Sandeep Paulraj <s-paulraj at ti.com>
---
 include/configs/davinci_sonata.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/configs/davinci_sonata.h b/include/configs/davinci_sonata.h
index ebfdafa..2336129 100644
--- a/include/configs/davinci_sonata.h
+++ b/include/configs/davinci_sonata.h
@@ -139,6 +139,7 @@
 #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	 */
-- 
1.6.0.4



More information about the U-Boot mailing list