summaryrefslogtreecommitdiff
path: root/include/configs/rcar-gen2-common.h
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@gmail.com>2018-05-31 15:12:53 +0200
committerMarek Vasut <marek.vasut+renesas@gmail.com>2018-06-14 22:35:21 +0200
commit910db6c3a1f5802c3a11c921d724788ab22ab88d (patch)
treed8f4c843d5e981a73a4a7b8af3a272969f4d8a12 /include/configs/rcar-gen2-common.h
parentc29d2a2432b92ec249385ce600ff912d929715f2 (diff)
ARM: rmobile: Point load address to more sane area on Gen2
Point the $loadaddr variable and default load address to a more sane area, 256 MiB from the start of RAM. While it is convenient to use uImage without copying, which is why the previous load address was set the way it was, uImage is now legacy. This behavior could still be easily retained by "setenv loadaddr 0x40007fc0" . The new setup allows us to use for example modern fitImage with kernel_noload, so use this as a new preferred default. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'include/configs/rcar-gen2-common.h')
-rw-r--r--include/configs/rcar-gen2-common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/configs/rcar-gen2-common.h b/include/configs/rcar-gen2-common.h
index 231c4ecea4..e1b2fa28e1 100644
--- a/include/configs/rcar-gen2-common.h
+++ b/include/configs/rcar-gen2-common.h
@@ -33,7 +33,8 @@
#define CONFIG_SYS_SDRAM_BASE (RCAR_GEN2_SDRAM_BASE)
#define CONFIG_SYS_SDRAM_SIZE (RCAR_GEN2_UBOOT_SDRAM_SIZE)
-#define CONFIG_SYS_LOAD_ADDR (CONFIG_SYS_SDRAM_BASE + 0x7fc0)
+#define CONFIG_SYS_LOAD_ADDR 0x50000000
+#define CONFIG_LOADADDR CONFIG_SYS_LOAD_ADDR
#define CONFIG_NR_DRAM_BANKS 1
#define CONFIG_SYS_MONITOR_BASE 0x00000000