OMAP: panda: move display init from board file to dss-common.c
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 5 Nov 2012 13:14:17 +0000 (15:14 +0200)
committerTony Lindgren <tony@atomide.com>
Wed, 7 Nov 2012 21:26:27 +0000 (13:26 -0800)
commit0191bf368fd95ecd4f83e62b0ad6de12048b14bf
treeabd962268d5e58ef6c016474cb80c3f58fe4ea9e
parentcc0677979e3ef1ae25ea9db4edc63786a3731526
OMAP: panda: move display init from board file to dss-common.c

Device tree support for omapdss is still some way in the future.  In an
effort to get a minimal DSS support for DT enabled kernel on selected
OMAP4 boards, we'll go for a temporary solution: We will call the same
non-DT omapdss setup code for OMAP4 SDP and Pandaboards from
board-generic.c, thus enabling DSS for those boards.

This patch moves the display setup code from board-omap4panda.c to
dss-common.c. dss-common.c will be called by the board-omap4panda.c when
running on non-DT kernel, and by board-generic.c when running on DT
enabled kernel.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/Makefile
arch/arm/mach-omap2/board-omap4panda.c
arch/arm/mach-omap2/dss-common.c [new file with mode: 0644]
arch/arm/mach-omap2/dss-common.h [new file with mode: 0644]