diff options
author | Martin Pietryka <martin.pietryka@chello.at> | 2016-04-25 21:25:07 +0200 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2016-04-25 22:02:08 +0200 |
commit | ac5c61bfa6ad24a5384b9b89902e024a994f715f (patch) | |
tree | 53a944c651c9bc947f147d9f8d96f88d3de46775 /drivers/video/am335x-fb.c | |
parent | 65341967ce9ef2656c61dcd3126536e8865c349d (diff) | |
download | u-boot-imx-ac5c61bfa6ad24a5384b9b89902e024a994f715f.zip u-boot-imx-ac5c61bfa6ad24a5384b9b89902e024a994f715f.tar.gz u-boot-imx-ac5c61bfa6ad24a5384b9b89902e024a994f715f.tar.bz2 |
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>
Diffstat (limited to 'drivers/video/am335x-fb.c')
-rw-r--r-- | drivers/video/am335x-fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/am335x-fb.c b/drivers/video/am335x-fb.c index e23d172..0ec843f 100644 --- 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 (0x10 << 20) +#define LCD_PALMODE_RAWDATA (0x02 << 20) #define LCD_TFT_MODE (0x01 << 7) #define LCD_RASTER_ENABLE (0x01 << 0) |