diff options
author | Eric Miao <ycmiao@ycmiao-hp520.(none)> | 2008-12-18 09:10:00 -0500 |
---|---|---|
committer | Eric Miao <eric.miao@marvell.com> | 2008-12-29 04:59:17 -0500 |
commit | a0427509a76c61984fbba4e206b617c689f419ef (patch) | |
tree | e7b7f74b912ae35677767213c77308c3e9c4d64e /arch | |
parent | 6e354846e807e037751fdc8faaee8ad492177113 (diff) |
[ARM] pxafb: add palette format support for LCCR4_PAL_FOR_3
Add the palette format support for LCCR4_PAL_FOR_3, and fix the
issue of LCCR4 being never assigned.
Also remove the useless pxafb_set_truecolor().
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Eric Miao <ycmiao@ycmiao-hp520.(none)>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-pxa/include/mach/regs-lcd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/include/mach/regs-lcd.h b/arch/arm/mach-pxa/include/mach/regs-lcd.h index c15df557fa8a..5c522263e401 100644 --- a/arch/arm/mach-pxa/include/mach/regs-lcd.h +++ b/arch/arm/mach-pxa/include/mach/regs-lcd.h | |||
@@ -48,6 +48,7 @@ | |||
48 | #define LCCR4_PAL_FOR_0 (0 << 15) | 48 | #define LCCR4_PAL_FOR_0 (0 << 15) |
49 | #define LCCR4_PAL_FOR_1 (1 << 15) | 49 | #define LCCR4_PAL_FOR_1 (1 << 15) |
50 | #define LCCR4_PAL_FOR_2 (2 << 15) | 50 | #define LCCR4_PAL_FOR_2 (2 << 15) |
51 | #define LCCR4_PAL_FOR_3 (3 << 15) | ||
51 | #define LCCR4_PAL_FOR_MASK (3 << 15) | 52 | #define LCCR4_PAL_FOR_MASK (3 << 15) |
52 | 53 | ||
53 | #define FDADR0 (0x200) /* DMA Channel 0 Frame Descriptor Address Register */ | 54 | #define FDADR0 (0x200) /* DMA Channel 0 Frame Descriptor Address Register */ |