Patchwork [U-Boot,v3,1/4] SMDK6400: Fix CONFIG_SYS_INIT_SP_ADDR undefined

login
register
mail settings
Submitter seedshope
Date Jan. 13, 2011, 1:36 p.m.
Message ID <1294925784-5042-2-git-send-email-bocui107@gmail.com>
Download mbox | patch
Permalink /patch/78753/
State Rejected
Headers show

Comments

seedshope - Jan. 13, 2011, 1:36 p.m.
Fix CONFIG_SYS_INIT_SP_ADDR undefined issue.

Signed-off-by: seedshope <bocui107@gmail.com>

Patch

diff --git a/include/configs/smdk6400.h b/include/configs/smdk6400.h
index 671f2c7..c9acf58 100644
--- a/include/configs/smdk6400.h
+++ b/include/configs/smdk6400.h
@@ -44,6 +44,11 @@ 
 #define CONFIG_PERIPORT_BASE	0x70000000
 #define CONFIG_PERIPORT_SIZE	0x13
 
+#define CONFIG_SYS_IRAM_BASE    0x0c000000  /* Internal SRAM base address */
+#define CONFIG_SYS_IRAM_SIZE    0x2000      /* 8 KB of internal SRAM memory */
+#define CONFIG_SYS_IRAM_END     (CONFIG_SYS_IRAM_BASE + CONFIG_SYS_IRAM_SIZE)
+#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_IRAM_END - GENERATED_GBL_DATA_SIZE)
+
 #define CONFIG_SYS_SDRAM_BASE	0x50000000
 
 /* input clock of PLL: SMDK6400 has 12MHz input clock */