[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-arm-kernel
Subject:    2.5.70-rmk7-pxa1: infrastructure for pxafb
From:       Holger Schurig <holgerschurig () gmx ! de>
Date:       2003-07-12 6:23:59
[Download RAW message or body]

Here's the easy part: this creates the necessary kernel infrastructure to 
compile pxafb.c.

--- linux-2.5.70/drivers/video/Kconfig~pxa-pxafb
+++ linux-2.5.70/drivers/video/Kconfig
@@ -910,6 +910,33 @@
 	  Say Y here if you want to support the built-in frame buffer of
 	  the Motorola 68328 CPU family.
 
+config FB_PXA
+	tristate "PXA LCD framebuffer support"
+	depends on FB && ARCH_PXA
+	---help---
+	  Frame buffer driver for the built-in LCD controller in the Intel
+	  PXA2x0 processor.
+
+	  This driver is also available as a module ( = code which can be
+	  inserted and removed from the running kernel whenever you want). The
+	  module will be called vfb. If you want to compile it as a module,
+	  say M here and read <file:Documentation/modules.txt>.
+
+	  If unsure, say N.
+
+choice
+	prompt "LCD Bit Depth"
+	depends FB_PXA
+	default FB_PXA_8BPP
+
+config	FB_PXA_8BPP
+	bool "8 bpp"
+
+config	FB_PXA_16BPP
+	bool "16 bpp"
+
+endchoice
+
 config FB_VIRTUAL
 	tristate "Virtual Frame Buffer support (ONLY FOR TESTING!)"
 	depends on FB
--- linux-2.5.70/drivers/video/Makefile~pxa-pxafb
+++ linux-2.5.70/drivers/video/Makefile
@@ -89,4 +89,4 @@
 				      cfbfillrect.o
 obj-$(CONFIG_FB_LEO)               += leo.o sbuslib.o cfbimgblt.o 
cfbcopyarea.o \
 				      cfbfillrect.o
-
+obj-$(CONFIG_FB_PXA)		   += pxafb.o

-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ/Etiquette:       http://www.arm.linux.org.uk/armlinux/mailinglists.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic