From: Baruch Siach Date: Wed, 17 Feb 2010 10:33:23 +0000 (+0200) Subject: imxfb: add support for i.MX25 X-Git-Tag: v2.6.34-rc2~66^2~5^2^2~5 X-Git-Url: https://bbs.cooldavid.org/git/?a=commitdiff_plain;h=f601441916d1e19291d0b4f044b4a7551e2924d0;hp=94d32f99c6aba8b702a9cf78cb328aeb7882b1e5;p=net-next-2.6.git imxfb: add support for i.MX25 The commit also introduces the HAVE_FB_IMX config that is to be selected from the MX25 platform config. Once this commit gets merged, the two other i.MX archs, ARCH_MX1 and ARCH_MX2, should follow this one. Signed-off-by: Baruch Siach Acked-by: Uwe Kleine-König Signed-off-by: Sascha Hauer --- diff --git a/arch/arm/plat-mxc/Kconfig b/arch/arm/plat-mxc/Kconfig index cea51a0ae9f..cdee9176a77 100644 --- a/arch/arm/plat-mxc/Kconfig +++ b/arch/arm/plat-mxc/Kconfig @@ -24,6 +24,7 @@ config ARCH_MX25 bool "MX25-based" select CPU_ARM926T select COMMON_CLKDEV + select HAVE_FB_IMX help This enables support for systems based on the Freescale i.MX25 family diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 5a5c303a637..83d40ed2f2d 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -400,9 +400,12 @@ config FB_SA1100 If you plan to use the LCD display with your SA-1100 system, say Y here. +config HAVE_FB_IMX + bool + config FB_IMX tristate "Motorola i.MX LCD support" - depends on FB && (ARCH_MX1 || ARCH_MX2) + depends on FB && (HAVE_FB_IMX || ARCH_MX1 || ARCH_MX2) select FB_CFB_FILLRECT select FB_CFB_COPYAREA select FB_CFB_IMAGEBLIT