Skip to content

Commit

Permalink
board: renesas: salvatorx: Fix memory area configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
  • Loading branch information
h-yokoya committed Sep 3, 2015
1 parent d0ab6de commit 4a569c8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion board/renesas/salvatorx/salvatorx.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ int board_init(void)
u32 val;
#endif
/* adress of boot parameters */
gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100;
gd->bd->bi_boot_params = CONFIG_SYS_TEXT_BASE + 0x50000;

/* Init PFC controller */
r8a7795_pinmux_init();
Expand Down
10 changes: 7 additions & 3 deletions include/configs/rcar-gen3-common.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,13 @@
#define CONFIG_SYS_BARGSIZE 512
#define CONFIG_SYS_BAUDRATE_TABLE { 115200, 38400 }

#define CONFIG_SYS_SDRAM_BASE (RCAR_GEN3_SDRAM_BASE)
#define CONFIG_SYS_SDRAM_SIZE (RCAR_GEN3_UBOOT_SDRAM_SIZE)
#define CONFIG_SYS_LOAD_ADDR (CONFIG_SYS_SDRAM_BASE + 0x08080000 - 0x40)
/* MEMORY */
#define CONFIG_SYS_TEXT_BASE 0x49000000
#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_TEXT_BASE + 0x7fff0)

#define CONFIG_SYS_SDRAM_BASE (0x40000000)
#define CONFIG_SYS_SDRAM_SIZE (1024u * 1024 * 1024)
#define CONFIG_SYS_LOAD_ADDR (0x48080000)
#define CONFIG_NR_DRAM_BANKS 1

#define CONFIG_SYS_MONITOR_BASE 0x00000000
Expand Down

0 comments on commit 4a569c8

Please sign in to comment.