ARM: uniphier: refactor DDR PHY parameter dump command
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 27 Oct 2016 14:47:08 +0000 (23:47 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 29 Oct 2016 08:24:30 +0000 (17:24 +0900)
commitadf55f63ae7d09a4a0f3fedd5e3955caf7fd0f09
tree38f1f6b4d24449b8595532709c642b709dff3e6a
parent6dd34ae4c4cce6a4b9f62c9be55b343a6f0a35f8
ARM: uniphier: refactor DDR PHY parameter dump command

Do not hard-code the number of DX blocks because it is a different
value for LD11 SoC.

Move the macro NR_DATX8_PER_DDRPHY to ddrphy-training.c since it
is the last user.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/dram/cmd_ddrphy.c
arch/arm/mach-uniphier/dram/ddrphy-init.h
arch/arm/mach-uniphier/dram/ddrphy-training.c