[U-Boot] [PATCH v2 21/22] ARM: uniphier: set dram_base environment variable
Masahiro Yamada
yamada.masahiro at socionext.com
Wed Jul 10 11:07:49 UTC 2019
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 at socionext.com>
---
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 dbd1f17e832e..4701a2892379 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.17.1
More information about the U-Boot
mailing list