From: Tetsuyuki Kobayashi Date: Thu, 5 Jul 2012 01:43:44 +0000 (+0000) Subject: arm: rmobile: kzm9g: Modify sdram area X-Git-Tag: v2012.10-rc3~15^2~45 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9415cf93bc5ded82c6b915d5ab3b8c8f61a75c46;p=u-boot arm: rmobile: kzm9g: Modify sdram area Reserve first 16MB for RT-CPU (as same as kernel config). Signed-off-by: Tetsuyuki Kobayashi Signed-off-by: Nobuhiro Iwamatsu --- diff --git a/include/configs/kzm9g.h b/include/configs/kzm9g.h index 7567d46c76..bcf2cd88c1 100644 --- a/include/configs/kzm9g.h +++ b/include/configs/kzm9g.h @@ -97,8 +97,9 @@ #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_INIT_RAM_ADDR + \ CONFIG_SYS_INIT_RAM_SIZE - \ GENERATED_GBL_DATA_SIZE) -#define CONFIG_SYS_SDRAM_BASE KZM_SDRAM_BASE -#define CONFIG_SYS_SDRAM_SIZE PHYS_SDRAM_SIZE +#define CONFIG_SDRAM_OFFSET_FOR_RT (16 * 1024 * 1024) +#define CONFIG_SYS_SDRAM_BASE (KZM_SDRAM_BASE + CONFIG_SDRAM_OFFSET_FOR_RT) +#define CONFIG_SYS_SDRAM_SIZE (PHYS_SDRAM_SIZE - CONFIG_SDRAM_OFFSET_FOR_RT) #define CONFIG_SYS_LOAD_ADDR (CONFIG_SYS_SDRAM_BASE + 32 * 1024 * 1024) #define CONFIG_SYS_MONITOR_BASE (KZM_FLASH_BASE)