]> git.baikalelectronics.ru Git - uboot.git/commit
ARM: uniphier: refactor cmd_ddrphy
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 27 Jan 2017 21:53:45 +0000 (06:53 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 29 Jan 2017 11:59:08 +0000 (20:59 +0900)
commita371c5a9448163137d44ff0c20fbee2b0af8238e
treed5e8311d0b0421a3d85090163385223ce1ada739
parentbe683f7182376390ff1c27b27735c9cf31831aad
ARM: uniphier: refactor cmd_ddrphy

It seems more readable to use arrays to get SoC specific parameters
instead of the crappy switch statement.

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