From: <bob...@us...> - 2007-07-14 01:51:47
|
Revision: 1145 http://svn.sourceforge.net/hackndev/?rev=1145&view=rev Author: bobofdoom Date: 2007-07-13 18:51:44 -0700 (Fri, 13 Jul 2007) Log Message: ----------- PalmT650: Used LCCRMan make nice LCD constants for LCCR0 and 3. Modified Paths: -------------- linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c Modified: linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c =================================================================== --- linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c 2007-07-14 01:17:37 UTC (rev 1144) +++ linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c 2007-07-14 01:51:44 UTC (rev 1145) @@ -21,6 +21,7 @@ #include <asm/mach/map.h> #include <asm/arch/audio.h> +#include <asm/arch/bitfield.h> #include <asm/arch/hardware.h> #include <asm/arch/mmc.h> #include <asm/arch/pxafb.h> @@ -316,13 +317,13 @@ }; static struct pxafb_mach_info palmt650_lcd __initdata = { - .lccr0 = 0x4000080, - .lccr3 = 0x4400003, - - .pxafb_backlight_power = NULL, - - .num_modes = 1, - .modes = &palmt650_lcd_mode, + .lccr0 = LCCR0_ENB | LCCR0_Color | LCCR0_Sngl | + LCCR0_Act | LCCR0_4PixMono | LCCR0_OUC | + LCCR0_LDDALT, + .lccr3 = LCCR3_PixClkDiv(3) | LCCR3_HorSnchL | LCCR3_VrtSnchL | + LCCR3_PixFlEdg | LCCR3_OutEnH | LCCR3_Bpp(4), + .num_modes = 1, + .modes = &palmt650_lcd_mode, }; static struct map_desc palmt650_io_desc[] __initdata = { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |