ARM: uniphier: skip MEMCONF ch2 parsing if CH2_DISABLE bit is set
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 20 Feb 2017 03:10:05 +0000 (12:10 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 22 Feb 2017 23:37:56 +0000 (08:37 +0900)
commitbed1624d0df66c50e74a68cbdbcb8d3ed7f8411b
tree2ecca93ea40e1e35a11993d8ff38e64a5df63022
parent14bb7a4e3707a382efc96052e9c8f6995f6ea2b3
ARM: uniphier: skip MEMCONF ch2 parsing if CH2_DISABLE bit is set

If SG_MEMCONF_CH2_DISABLE bit is set, the DRAM channel 2 is unused.
The register settings for the ch2 should be ignored.

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