[U-Boot] [PATCH] ARM: rmobile: Enable CONFIG_LOADADDR on Gen2

Marek Vasut marek.vasut at gmail.com
Sat Feb 17 00:25:48 UTC 2018


This sets the $loadaddr variable, which is used ie. by tftp/dhcp
command and many others.

Signed-off-by: Marek Vasut <marek.vasut+renesas at gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>
---
 include/configs/rcar-gen2-common.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/configs/rcar-gen2-common.h b/include/configs/rcar-gen2-common.h
index e47b02fcc9..5f92765a17 100644
--- a/include/configs/rcar-gen2-common.h
+++ b/include/configs/rcar-gen2-common.h
@@ -34,6 +34,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_LOADADDR			CONFIG_SYS_LOAD_ADDR
+
 #define CONFIG_NR_DRAM_BANKS		1
 
 #define CONFIG_SYS_MONITOR_BASE		0x00000000
-- 
2.15.1



More information about the U-Boot mailing list