Patchwork [U-Boot,v5,1/6] SMDK6400: Fix CONFIG_SYS_INIT_SP_ADDR undefined

login
register
mail settings
Submitter seedshope
Date Jan. 22, 2011, 8:06 p.m.
Message ID <1295726774-5899-2-git-send-email-bocui107@gmail.com>
Download mbox | patch
Permalink /patch/80014/
State Accepted
Delegated to: Minkyu Kang
Headers show

Comments

seedshope - Jan. 22, 2011, 8:06 p.m.
Fix CONFIG_SYS_INIT_SP_ADDR undefined issue.

Signed-off-by: Zhong Hongbo <bocui107@gmail.com>
Minkyu Kang - Feb. 17, 2011, 2:39 a.m.
On 23 January 2011 05:06, seedshope <bocui107@gmail.com> wrote:
> Fix CONFIG_SYS_INIT_SP_ADDR undefined issue.
>
> Signed-off-by: Zhong Hongbo <bocui107@gmail.com>
>

applied to u-boot-samsung

Thanks
Minkyu Kang

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