summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2011-05-12 14:42:17 +0200
committerPaul Mundt <lethal@linux-sh.org>2011-05-24 09:16:51 +0200
commitb9b52cf4617bedccef64cee63ba8ec68b213bc21 (patch)
treed9bb56fff7a39abf1d8cd9b05b31de5cb867a177 /drivers/video
parentvideo: s3c-fb: add window variant information for S5P (diff)
downloadlinux-b9b52cf4617bedccef64cee63ba8ec68b213bc21.tar.xz
linux-b9b52cf4617bedccef64cee63ba8ec68b213bc21.zip
video: mb862xxfb: Require either FB_MB862XX_PCI_GDC or FB_MB862XX_LIME
The driver can be built as either a PCI or platform (OF) driver. It might make sense to built it as both (though that is not currently possible) but it certainly doesn't make sense to build it as neither! Add dependencies and add a choice group to ensure that exactly one of FB_MB862XX_PCI_GDC and FB_MB862XX_LIME is selected. Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Acked-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/Kconfig13
1 files changed, 9 insertions, 4 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index e37f1134f4e2..7326962565ce 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -2266,29 +2266,34 @@ config FB_METRONOME
config FB_MB862XX
tristate "Fujitsu MB862xx GDC support"
depends on FB
+ depends on PCI || (OF && PPC)
select FB_CFB_FILLRECT
select FB_CFB_COPYAREA
select FB_CFB_IMAGEBLIT
---help---
Frame buffer driver for Fujitsu Carmine/Coral-P(A)/Lime controllers.
+choice
+ prompt "GDC variant"
+ depends on FB_MB862XX
+
config FB_MB862XX_PCI_GDC
bool "Carmine/Coral-P(A) GDC"
- depends on PCI && FB_MB862XX
+ depends on PCI
---help---
This enables framebuffer support for Fujitsu Carmine/Coral-P(A)
PCI graphics controller devices.
config FB_MB862XX_LIME
bool "Lime GDC"
- depends on FB_MB862XX
- depends on OF && !FB_MB862XX_PCI_GDC
- depends on PPC
+ depends on OF && PPC
select FB_FOREIGN_ENDIAN
select FB_LITTLE_ENDIAN
---help---
Framebuffer support for Fujitsu Lime GDC on host CPU bus.
+endchoice
+
config FB_EP93XX
tristate "EP93XX frame buffer support"
depends on FB && ARCH_EP93XX