ARM: uniphier: update DRAM init code for LD20 SoC (2nd)
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 8 Oct 2016 04:25:24 +0000 (13:25 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 10 Oct 2016 01:03:23 +0000 (10:03 +0900)
commitc89638a02767c295ba368838f21ad1ab4825da96
tree73f0f998e510b0a5520e820a2c3783dca9f6a54d
parent6c22742d3defa76be00b4d3b5b49911fa63ffa0a
ARM: uniphier: update DRAM init code for LD20 SoC (2nd)

- Do not reference CONFIG_DDR_FREQ; now the DDR frequency
    is passed from the uniphier_board_data structure
  - Constify parameter arrays
  - Tidy up cluttered macros
  - Lots of code cleanups
  - Lots of coding style fixes

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