summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-07-10 20:07:49 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2019-07-10 22:42:08 +0900
commit7095678787d98e51dbaa123d49abdd2d066d45e9 (patch)
tree9b3be43dd2a857b47f01c6c7c4374c130930e921 /arch/arm
parent3cc936d8ab508855b095bbd7fecb02b21cf82f32 (diff)
ARM: uniphier: set dram_base environment variable
The base of DRAM will be changed for the next generation SoC. Set the base address to the 'dram_base' environment variable, which will be useful for scripting. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-uniphier/board_late_init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-uniphier/board_late_init.c b/arch/arm/mach-uniphier/board_late_init.c
index dbd1f17e83..4701a28923 100644
--- a/arch/arm/mach-uniphier/board_late_init.c
+++ b/arch/arm/mach-uniphier/board_late_init.c
@@ -135,6 +135,8 @@ int board_late_init(void)
uniphier_set_env_fdt_file();
+ uniphier_set_env_addr("dram_base", NULL);
+
uniphier_set_env_addr("loadaddr", "loadaddr_offset");
return 0;