# \[PATCHv13\]\[ 3/4\] video: Kconfig: Allow more broad selection of the imxfb framebuffer driver.

- Subsystems: FRAMEBUFFER LAYER, THE REST
- Maintainers: Helge Deller, Linus Torvalds
- Status: REVIEWED · 2 reviews, 0 by maintainers (Shawn Guo Jean-Christophe PLAGNIOL-VILLARD)
- Reviewed.
- 2 review trailers.
- List: linux-fbdev
- 2 messages, 2 authors
- Page: https://ratatoskr.run/linux-fbdev/2013/12/8081844/t

## \[PATCHv13\]\[ 3/4\] video: Kconfig: Allow more broad selection of the imxfb framebuffer driver.

- From: Denis Carikli \<hidden\>
- Date: 2013-12-05 15:43:38 
- Message: https://ratatoskr.run/linux-fbdev/2013/12/8081844.md

```text
Without that patch, a user can't select the imxfb driver when the i.MX25 and/or
  the i.MX27 device tree board are selected and that no boards that selects
  IMX_HAVE_PLATFORM_IMX_FB are compiled in.

Cc: Rob Herring <redacted>
Cc: Pawel Moll <redacted>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <redacted>
Cc: Ian Campbell <redacted>
Cc: <redacted>
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: <redacted>
Cc: Russell King <redacted>
Cc: Jean-Christophe Plagniol-Villard <redacted>
Cc: Tomi Valkeinen <redacted>
Cc: <redacted>
Cc: Eric BÃ©nard <redacted>
Signed-off-by: Denis Carikli <redacted>
Acked-by: Shawn Guo <redacted>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <redacted>
---
ChangeLog v10->v11:
- moved my signed-off-by.

ChangeLog v8->v9:
- Added Jean-Christophe PLAGNIOL-VILLARD's ACK.
---
 drivers/video/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 4f2e1b3..22adaee 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -363,7 +363,7 @@ config FB_SA1100
 
 config FB_IMX
 	tristate "Freescale i.MX1/21/25/27 LCD support"
-	depends on FB && IMX_HAVE_PLATFORM_IMX_FB
+	depends on FB && ARCH_MXC
 	select FB_CFB_FILLRECT
 	select FB_CFB_COPYAREA
 	select FB_CFB_IMAGEBLIT
-- 
1.7.9.5

```

## Re: \[PATCHv13\]\[ 3/4\] video: Kconfig: Allow more broad selection of the imxfb framebuffer driver.

- From: Sascha Hauer \<s.hauer@pengutronix.de\>
- Date: 2013-12-06 07:06:22 
- Message: https://ratatoskr.run/linux-fbdev/2013/12/8081907.md

```text
On Thu, Dec 05, 2013 at 04:43:38PM +0100, Denis Carikli wrote:
> Without that patch, a user can't select the imxfb driver when the i.MX25 and/or
>   the i.MX27 device tree board are selected and that no boards that selects
>   IMX_HAVE_PLATFORM_IMX_FB are compiled in.
> 
> Cc: Rob Herring <redacted>
> Cc: Pawel Moll <redacted>
> Cc: Mark Rutland <mark.rutland@arm.com>
> Cc: Stephen Warren <redacted>
> Cc: Ian Campbell <redacted>
> Cc: <redacted>
> Cc: Sascha Hauer <kernel@pengutronix.de>
> Cc: <redacted>
> Cc: Russell King <redacted>
> Cc: Jean-Christophe Plagniol-Villard <redacted>
> Cc: Tomi Valkeinen <redacted>
> Cc: <redacted>
> Cc: Eric Bénard <redacted>
> Signed-off-by: Denis Carikli <redacted>
> Acked-by: Shawn Guo <redacted>
> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <redacted>


Acked-by: Sascha Hauer <s.hauer@pengutronix.de>

Sascha

> ---
> ChangeLog v10->v11:
> - moved my signed-off-by.
> 
> ChangeLog v8->v9:
> - Added Jean-Christophe PLAGNIOL-VILLARD's ACK.
> ---
>  drivers/video/Kconfig |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
> index 4f2e1b3..22adaee 100644
> --- a/drivers/video/Kconfig
> +++ b/drivers/video/Kconfig
> @@ -363,7 +363,7 @@ config FB_SA1100
>  
>  config FB_IMX
>  	tristate "Freescale i.MX1/21/25/27 LCD support"
> -	depends on FB && IMX_HAVE_PLATFORM_IMX_FB
> +	depends on FB && ARCH_MXC
>  	select FB_CFB_FILLRECT
>  	select FB_CFB_COPYAREA
>  	select FB_CFB_IMAGEBLIT
> -- 
> 1.7.9.5
> 
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
```
