ARM: uniphier: remove DRAM base address from board parameters
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 5 Feb 2017 01:52:12 +0000 (10:52 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 22 Feb 2017 23:37:56 +0000 (08:37 +0900)
commit04cd4e7215d30431b736ef89c16d241c50a90c37
treeb46fbd5ce22dac559d413253d5d60646f12d6dde
parentcf3175bcd8b21a87276016aceb9d7992a2151fca
ARM: uniphier: remove DRAM base address from board parameters

The base address of each DRAM channel can be calculated from other
parameters, so does not need hard-coding.  What we need is the size
of each DRAM channel and DRAM_SPARSE flag to decide the start address
of DRAM channel 1.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/bcu/bcu-ld4.c
arch/arm/mach-uniphier/bcu/bcu-sld3.c
arch/arm/mach-uniphier/boards.c
arch/arm/mach-uniphier/dram_init.c
arch/arm/mach-uniphier/init.h
arch/arm/mach-uniphier/memconf.c