]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: uniphier: drop ifdef in ddrphy-regs.h
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 18 Mar 2016 07:41:45 +0000 (16:41 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 23 Mar 2016 16:45:19 +0000 (01:45 +0900)
commit1b1f2319ca2736dab14e1bd1d49558581763138a
tree5c6d23326221e41e140af21e5273c179b725fdbe
parent5d0607c58c02204c7ec02f0f4d6bd268929961ee
ARM: uniphier: drop ifdef in ddrphy-regs.h

The ifdef conditionals in header files prevent us from multi-SoC
support in a single U-Boot image.  Detect SoC specific parameters
run-time rather than define them statically with an ifdef in
ddrphy-regs.h.

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