Commit 9415cf93bc5ded82c6b915d5ab3b8c8f61a75c46
Committed by
Albert ARIBAUD
1 parent
8d811ca36a
Exists in
master
and in
54 other branches
arm: rmobile: kzm9g: Modify sdram area
Reserve first 16MB for RT-CPU (as same as kernel config). Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Showing 1 changed file with 3 additions and 2 deletions Side-by-side Diff
include/configs/kzm9g.h
... | ... | @@ -97,8 +97,9 @@ |
97 | 97 | #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_INIT_RAM_ADDR + \ |
98 | 98 | CONFIG_SYS_INIT_RAM_SIZE - \ |
99 | 99 | GENERATED_GBL_DATA_SIZE) |
100 | -#define CONFIG_SYS_SDRAM_BASE KZM_SDRAM_BASE | |
101 | -#define CONFIG_SYS_SDRAM_SIZE PHYS_SDRAM_SIZE | |
100 | +#define CONFIG_SDRAM_OFFSET_FOR_RT (16 * 1024 * 1024) | |
101 | +#define CONFIG_SYS_SDRAM_BASE (KZM_SDRAM_BASE + CONFIG_SDRAM_OFFSET_FOR_RT) | |
102 | +#define CONFIG_SYS_SDRAM_SIZE (PHYS_SDRAM_SIZE - CONFIG_SDRAM_OFFSET_FOR_RT) | |
102 | 103 | #define CONFIG_SYS_LOAD_ADDR (CONFIG_SYS_SDRAM_BASE + 32 * 1024 * 1024) |
103 | 104 | |
104 | 105 | #define CONFIG_SYS_MONITOR_BASE (KZM_FLASH_BASE) |