[U-Boot] [PATCH] DA830: Fix Build Warning

s-paulraj at ti.com s-paulraj at ti.com
Tue Sep 13 21:56:56 CEST 2011


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

This commit fixes a build warning in the DA830 EVM build



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

diff --git a/include/configs/da830evm.h b/include/configs/da830evm.h
index d52c08c..66fdea2 100644
--- a/include/configs/da830evm.h
+++ b/include/configs/da830evm.h
@@ -50,7 +50,8 @@
 #define CONFIG_SYS_MALLOC_LEN	(0x10000 + 1*1024*1024) /* malloc() len */
 #define PHYS_SDRAM_1			0xc0000000 /* SDRAM Start */
 #define CONFIG_SYS_MEMTEST_START	(PHYS_SDRAM_1 + 0x2000000)
-#define CONFIG_SYS_MEMTEST_END		(CONFIG_SYS_MEMTEST_START + 32 << 20)
+#define CONFIG_SYS_MEMTEST_END		(CONFIG_SYS_MEMTEST_START + \
+						(32 << 20))
 #define CONFIG_NR_DRAM_BANKS	1 /* we have 1 bank of DRAM */
 #define CONFIG_STACKSIZE	(256*1024) /* regular stack */
 
-- 
1.7.0.4



More information about the U-Boot mailing list