ARM: uniphier: refactor DDR-PHY init code
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 26 Feb 2016 05:21:43 +0000 (14:21 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 28 Feb 2016 18:50:16 +0000 (03:50 +0900)
commit6257a0b0e9b84fca5853e225e1de8023de5f1668
treedf9efa207a0b82f59cd67d2cc942a8cd90f1db5e
parent78876704984f44e96578f887035aabaec2b776f5
ARM: uniphier: refactor DDR-PHY init code

The if-else statements for the frequency-dependent register settings
seem clumsy.  Moving them to arrays would make it cleaner.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/dram/ddrphy-ph1-ld4.c