video: da8xx-fb: adding am33xx as dependency
authorDarren Etheridge <detheridge@ti.com>
Mon, 5 Aug 2013 22:02:39 +0000 (17:02 -0500)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 9 Aug 2013 11:02:43 +0000 (14:02 +0300)
Updating Kconfig to allow am33xx to include lcdc fbdev driver
including some extra dependencies needed by device tree mods.

v2: must add FB_MODE_HELPERS as VIDEOMODE_HELPERS alone doesn't
get the correct functions from fbmon.c built in.

Signed-off-by: Darren Etheridge <detheridge@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/Kconfig

index 4cf1e1dd562169e52426577534333e5669508c24..0c10b0bf430de3d6f8d7b4703d0892f5ee6a33ed 100644 (file)
@@ -2228,15 +2228,17 @@ config FB_SH7760
          panels <= 320 pixel horizontal resolution.
 
 config FB_DA8XX
-       tristate "DA8xx/OMAP-L1xx Framebuffer support"
-       depends on FB && ARCH_DAVINCI_DA8XX
+       tristate "DA8xx/OMAP-L1xx/AM335x Framebuffer support"
+       depends on FB && (ARCH_DAVINCI_DA8XX || SOC_AM33XX)
        select FB_CFB_FILLRECT
        select FB_CFB_COPYAREA
        select FB_CFB_IMAGEBLIT
        select FB_CFB_REV_PIXELS_IN_BYTE
+       select FB_MODE_HELPERS
+       select VIDEOMODE_HELPERS
        ---help---
          This is the frame buffer device driver for the TI LCD controller
-         found on DA8xx/OMAP-L1xx SoCs.
+         found on DA8xx/OMAP-L1xx/AM335x SoCs.
          If unsure, say N.
 
 config FB_VIRTUAL