aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/Kconfig
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-03-03 09:12:44 -0500
committerSascha Hauer <s.hauer@pengutronix.de>2011-05-19 07:11:26 -0400
commitf142b6196891660b329408e71573f97475823667 (patch)
tree64e27e12ad59b114a6ede7c57f5a3ad9119d9913 /drivers/video/Kconfig
parentba8a6c04ea11fdd38a614ec7108de2bf7400b5ab (diff)
video i.MX: remove mx1 compile time dependencies
remove usage of CONFIG_ARCH_MX1. It's mostly unused anyway, replace it with cpu_is_mx1() where necessary. Also, depend on IMX_HAVE_PLATFORM_IMX_FB instead of the architectures directly. LAKML-Reference: 20110303141244.GQ29521@pengutronix.de Acked-by: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/video/Kconfig')
-rw-r--r--drivers/video/Kconfig5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index e6a8d8c0101d..62f337ab52bc 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -8,9 +8,6 @@ menu "Graphics support"
8config HAVE_FB_ATMEL 8config HAVE_FB_ATMEL
9 bool 9 bool
10 10
11config HAVE_FB_IMX
12 bool
13
14config SH_MIPI_DSI 11config SH_MIPI_DSI
15 tristate 12 tristate
16 depends on (SUPERH || ARCH_SHMOBILE) && HAVE_CLK 13 depends on (SUPERH || ARCH_SHMOBILE) && HAVE_CLK
@@ -359,7 +356,7 @@ config FB_SA1100
359 356
360config FB_IMX 357config FB_IMX
361 tristate "Freescale i.MX LCD support" 358 tristate "Freescale i.MX LCD support"
362 depends on FB && (HAVE_FB_IMX || ARCH_MX1 || ARCH_MX2) 359 depends on FB && IMX_HAVE_PLATFORM_IMX_FB
363 select FB_CFB_FILLRECT 360 select FB_CFB_FILLRECT
364 select FB_CFB_COPYAREA 361 select FB_CFB_COPYAREA
365 select FB_CFB_IMAGEBLIT 362 select FB_CFB_IMAGEBLIT