mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
drivers/video/am335x-fb: Fix bits for LCD_PALMODE_RAWDATA definition
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>
This commit is contained in:
parent
65341967ce
commit
ac5c61bfa6
1 changed files with 1 additions and 1 deletions
|
|
@ -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 (0x10 << 20)
|
||||
#define LCD_PALMODE_RAWDATA (0x02 << 20)
|
||||
#define LCD_TFT_MODE (0x01 << 7)
|
||||
#define LCD_RASTER_ENABLE (0x01 << 0)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue