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

login
register
mail settings
Submitter Sandeep Paulraj
Date Dec. 29, 2010, 7:43 p.m.
Message ID <1293651805-32339-1-git-send-email-s-paulraj@ti.com>
Download mbox | patch
Permalink /patch/76942/
State Accepted
Commit f3d5d3106390242407d15e84b96a6aef848706b8
Delegated to: Sandeep Paulraj
Headers show

Comments

Sandeep Paulraj - Dec. 29, 2010, 7:43 p.m.
From: Sandeep Paulraj <s-paulraj@ti.com>

Fix a build error in the DaVinci Sonata Board


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

Patch

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	 */