From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sollube.sarenet.es (mx1.sarenet.es [194.30.0.37]) by ozlabs.org (Postfix) with ESMTP id 3C42267B40 for ; Tue, 2 May 2006 22:36:54 +1000 (EST) Received: from ntvir (unknown [212.81.206.17]) by sollube.sarenet.es (Postfix) with ESMTP id 453C737430 for ; Tue, 2 May 2006 14:03:47 +0200 (CEST) Message-ID: <44574B08.9020105@fagorautomation.es> Date: Tue, 02 May 2006 14:05:28 +0200 From: Igor Luri MIME-Version: 1.0 To: linuxppc-embedded@ozlabs.org Subject: [PATCH] Add Fujitsu CoralP 8 bits per pixel support Content-Type: multipart/mixed; boundary="------------000106060206000100060802" List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This is a multi-part message in MIME format. --------------000106060206000100060802 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi all, Denx linux kernel 2.4.25 Fujitsu CoralP driver is configured with 16 bits per pixel color depth. This patch adds support to configure it with 8 bits per pixel. Best regards. --------------000106060206000100060802 Content-Type: text/x-patch; name="coralp.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="coralp.patch" --- kernel_backup/drivers/video/Config.in 2005-10-04 09:45:39.000000000 +0200 +++ kernel/drivers/video/Config.in 2006-04-25 14:26:42.000000000 +0200 @@ -11,6 +11,16 @@ define_bool CONFIG_DUMMY_CONSOLE y bool ' Silicon Motion VOYAGER support (on TQM5200)' CONFIG_FB_VOYAGER bool ' Fujitsu CoralP support' CONFIG_FB_MB86290 + if [ "$CONFIG_FB_MB86290" = "y" ]; then + choice 'Bits per pixel' \ + "8 CONFIG_MB86290FB_8BPP \ + 16 CONFIG_MB86290FB_16BPP" 16 + if [ "$CONFIG_INKA4X0" = "n" ]; then + choice 'Screen resolution' \ + "1024x768 CONFIG_MB86290FB_RES_1024x768 \ + 640x480 CONFIG_MB86290FB_RES_640x480" 1024x768 + fi + fi if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then if [ "$CONFIG_PCI" = "y" ]; then tristate ' nVidia Riva support (EXPERIMENTAL)' CONFIG_FB_RIVA --- kernel_backup/drivers/video/mb86290/mb86290fb.c 2005-10-04 09:45:40.000000000 +0200 +++ kernel/drivers/video/mb86290/mb86290fb.c 2006-04-24 17:22:43.000000000 +0200 @@ -20,6 +20,7 @@ #include #include