[PATCH] mach-gta01: tidy lcd platform data

Ben Dooks ben-linux at fluff.org
Sat Feb 17 01:43:45 CET 2007


Tidy up the LCD platform data by removing
the #if 0 section, and adding a .type field
intiialiser.

Signed-off-by: Ben Dooks <ben-linux at fluff.org>

--- linux-2.6.20-dev3/arch/arm/mach-s3c2410/mach-gta01.c	2007-02-17 00:21:34.000000000 +0000
+++ linux-2.6.20-dev4/arch/arm/mach-s3c2410/mach-gta01.c	2007-02-17 00:31:18.000000000 +0000
@@ -140,19 +140,8 @@ static struct s3c2410fb_mach_info gta01_
 				  S3C2410_LCDCON5_HWSWP,
 	},
 
-#if 0
-	/* currently setup by downloader */
-	.gpccon		= 0xaa940659,
-	.gpccon_mask	= 0xffffffff,
-	.gpcup		= 0x0000ffff,
-	.gpcup_mask	= 0xffffffff,
-	.gpdcon		= 0xaa84aaa0,
-	.gpdcon_mask	= 0xffffffff,
-	.gpdup		= 0x0000faff,
-	.gpdup_mask	= 0xffffffff,
-#endif
-
 	.lpcsel		= ((0xCE6) & ~7) | 1<<4,
+	.type		= S3C2410_LCDCON1_TFT16BPP,
 
 	.width		= 480,
 	.height		= 640,




More information about the openmoko-kernel mailing list