From 7095678787d98e51dbaa123d49abdd2d066d45e9 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Wed, 10 Jul 2019 20:07:49 +0900 Subject: [PATCH] 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 --- arch/arm/mach-uniphier/board_late_init.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.25.1