From: Masahiro Yamada Date: Wed, 10 Jul 2019 11:07:49 +0000 (+0900) Subject: ARM: uniphier: set dram_base environment variable X-Git-Tag: v2019.10-rc1~34^2~1 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7095678787d98e51dbaa123d49abdd2d066d45e9;p=oweals%2Fu-boot.git 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 --- 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;