]> git.ipfire.org Git - thirdparty/u-boot.git/commit
ARM: uniphier: set loadaddr at boot-time
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 10 Jul 2019 11:07:48 +0000 (20:07 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 10 Jul 2019 13:42:07 +0000 (22:42 +0900)
commit3cc936d8ab508855b095bbd7fecb02b21cf82f32
tree3f6d78a628db83704009792325c71e3a0afeedd4
parent72cd83ab81969b970247c6c74e710cdce2c2bdae
ARM: uniphier: set loadaddr at boot-time

The base of DRAM will be changed for the next generation SoC.
To support it along with existing SoCs in the single defconfig,
set 'loadaddr' at boot-time by adding the offset to the DRAM base.

CONFIG_SYS_LOAD_ADDR is still hard-coded for compilation, but the
value from environment variable 'loadaddr' should be used.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/board_late_init.c
include/configs/uniphier.h