[PATCH 1/3] imxfb: add support for i.MX25

From
Uwe Kleine-König <hidden>
Date
2010-02-10 08:26:54
Also in
linux-fbdev
Reply to
Baruch Siach, 2010-02-10
Hello Baruch,

On Wed, Feb 10, 2010 at 10:15:13AM +0200, Baruch Siach wrote:
On Wed, Feb 10, 2010 at 08:50:07AM +0100, Uwe Kleine-K?nig wrote:
quoted
On Wed, Feb 10, 2010 at 09:25:18AM +0200, Baruch Siach wrote:
quoted
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 drivers/video/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 5a5c303..7ff9acc 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -402,7 +402,7 @@ config FB_SA1100
 
 config FB_IMX
 	tristate "Motorola i.MX LCD support"
-	depends on FB && (ARCH_MX1 || ARCH_MX2)
+	depends on FB && (ARCH_MX1 || ARCH_MX2 || ARCH_MX25)
Can we make this

	depends on FB && HAVE_FB_IMX

and let the archs select HAVE_FB_IMX?
I just wanted to do the minimal working change. Do you want me to send a patch 
updating each ARCH's Kconfig?
Of course this should go in a seperate patch, so this is your chance to
increase your patch count even further :-)

For now I'd do the following to minimize inter-tree dependencies:

	* remove all explicit dependencies on FB in the above block
	* define
		config HAVE_FB_IMX
		bool
	  just before config FB_IMX and add it to the latter's
	  dependencies, such that it reads:

		depends on HAVE_FB_IMX || ARCH_MX1 || ARCH_MX2

and when this change hit's Linus' tree let ARCH_MX1 and ARCH_MX2 select
HAVE_FB_IMX, too and remove it from the list.

I don't care when you add ARCH_MX25 as everything is more or less
orthogonal here.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Thread (21 messages) 21 messages, 4 authors, last reply 2010-02-17
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help