ARM: s3c64xx: Decouple lcd type from display controller window data
authorThomas Abraham <thomas.abraham@linaro.org>
Sat, 24 Mar 2012 16:28:47 +0000 (21:58 +0530)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Mon, 9 Apr 2012 16:11:23 +0000 (16:11 +0000)
commit884924be2a3368a3ac96587f347f9973c80140f6
tree85dd0615fd118e271a1591d22bcefb1e3e5883e2
parent3c582647a9f84affd5c86e89d548157c62f8d9ca
ARM: s3c64xx: Decouple lcd type from display controller window data

The display controller window data should contain window configuration data
for only one type of lcd panel. So, for real6410 and mini6410 boards, split
the existing display controller window data, which contains window
configuration data for two different types of lcd panels, into two seperate
instances and register one of them depending on the type of the lcd panel
detected at runtime.

This is a prerequisite change for a subsequent commit that reorders the
platform data of display controller by moving video interface timing out
of window setup data.

Cc: Darius Augulis <augulis.darius@gmail.com>
Acked-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
arch/arm/mach-s3c64xx/mach-mini6410.c
arch/arm/mach-s3c64xx/mach-real6410.c