diff mbox

[U-Boot] CONFIG_SYS_SDRAM and CONFIG_SYS_INIT_SP_ADDR defines for versatile boards.

Message ID 1288293797-16422-1-git-send-email-hschauhan@nulltrace.org
State Superseded, archived
Headers show

Commit Message

Himanshu Chauhan Oct. 28, 2010, 7:23 p.m. UTC
Following is the patch for defining the subject line mentioned
configuration defines for versatile boards.

Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
---
 include/configs/versatile.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/include/configs/versatile.h b/include/configs/versatile.h
index 45d8434..2da567a 100644
--- a/include/configs/versatile.h
+++ b/include/configs/versatile.h
@@ -231,4 +231,7 @@ 
 #define CONFIG_SYS_FLASH_PROTECTION	/* The devices have real protection */
 #define CONFIG_SYS_FLASH_EMPTY_INFO	/* flinfo indicates empty blocks */
 
+#define CONFIG_SYS_SDRAM_BASE		PHYS_SDRAM_1
+#define CONFIG_SYS_INIT_SP_ADDR		(CONFIG_SYS_TEXT_BASE \
+					 - GENERATED_GBL_DATA_SIZE)
 #endif	/* __CONFIG_H */