projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6534196
)
drivers/video/am335x-fb: Fix bits for LCD_PALMODE_RAWDATA definition
author
Martin Pietryka
<martin.pietryka@chello.at>
Mon, 25 Apr 2016 19:25:07 +0000
(21:25 +0200)
committer
Anatolij Gustschin
<agust@denx.de>
Mon, 25 Apr 2016 20:02:08 +0000
(22:02 +0200)
According to the TRM you have to set bits [21:20] to 0b10 for RAW mode, so
(0x10 << 20) is obviously wrong here.
Signed-off-by: Martin Pietryka <martin.pietryka@chello.at>
drivers/video/am335x-fb.c
patch
|
blob
|
history
diff --git
a/drivers/video/am335x-fb.c
b/drivers/video/am335x-fb.c
index
e23d172
..
0ec843f
100644
(file)
--- a/
drivers/video/am335x-fb.c
+++ b/
drivers/video/am335x-fb.c
@@
-55,7
+55,7
@@
/* LCD Raster Ctrl Register */
#define LCD_TFT_24BPP_MODE (1 << 25)
#define LCD_TFT_24BPP_UNPACK (1 << 26)
-#define LCD_PALMODE_RAWDATA (0x
10
<< 20)
+#define LCD_PALMODE_RAWDATA (0x
02
<< 20)
#define LCD_TFT_MODE (0x01 << 7)
#define LCD_RASTER_ENABLE (0x01 << 0)