summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorNikita Kiryanov <nikita@compulab.co.il>2014-12-08 17:14:35 +0200
committerAnatolij Gustschin <agust@denx.de>2015-01-10 17:45:00 +0100
commitdc6b5b3a15bd309f818420c1e564b0f5b9b19a3d (patch)
treebb66b7e466572609279ba4eb38de08a58019f515 /drivers/video
parent4c8c485ad9249e1ca1822474954b78799ca937e9 (diff)
downloadu-boot-imx-dc6b5b3a15bd309f818420c1e564b0f5b9b19a3d.zip
u-boot-imx-dc6b5b3a15bd309f818420c1e564b0f5b9b19a3d.tar.gz
u-boot-imx-dc6b5b3a15bd309f818420c1e564b0f5b9b19a3d.tar.bz2
lcd: remove CONFIG_SYS_INVERT_COLORS
No one is using CONFIG_SYS_INVERT_COLORS; remove related code. Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il> Cc: Simon Glass <sjg@chromium.org> Cc: Anatolij Gustschin <agust@denx.de> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/mpc8xx_lcd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/video/mpc8xx_lcd.c b/drivers/video/mpc8xx_lcd.c
index 50eed89..7234621 100644
--- a/drivers/video/mpc8xx_lcd.c
+++ b/drivers/video/mpc8xx_lcd.c
@@ -373,9 +373,7 @@ lcd_setcolreg (ushort regno, ushort red, ushort green, ushort blue)
colreg = ((red & 0x0F) << 8) |
((green & 0x0F) << 4) |
(blue & 0x0F) ;
-#ifdef CONFIG_SYS_INVERT_COLORS
- colreg ^= 0x0FFF;
-#endif
+
*cmap_ptr = colreg;
debug ("setcolreg: reg %2d @ %p: R=%02X G=%02X B=%02X => %02X%02X\n",