ARM: uniphier: make mem_map run-time configurable
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 10 Jul 2019 11:07:45 +0000 (20:07 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 10 Jul 2019 13:42:05 +0000 (22:42 +0900)
commit34e29f7d94aa0243793081751ea0eeae598a0273
tree7bc9a99ef4ff8f6f3abc3b8061178920c54a02d3
parentdf72534121b7e593f2a8043ad1c0c86bae0aa75b
ARM: uniphier: make mem_map run-time configurable

Currently, mem_map is hard-coded, and it worked well until the last
SoC. For a planned new SoC, the addresses of peripherals and DRAM
will be changed. Set it up run-time.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/arm64/mem_map.c
arch/arm/mach-uniphier/dram_init.c
arch/arm/mach-uniphier/init.h