diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-07-10 20:07:49 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-07-10 22:42:08 +0900 |
commit | 7095678787d98e51dbaa123d49abdd2d066d45e9 (patch) | |
tree | 9b3be43dd2a857b47f01c6c7c4374c130930e921 /arch/arm | |
parent | 3cc936d8ab508855b095bbd7fecb02b21cf82f32 (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.c | 2 |
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; |