diff options
author | Nikita Kiryanov <nikita@compulab.co.il> | 2014-12-08 18:14:35 +0300 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2015-01-10 19:45:00 +0300 |
commit | dc6b5b3a15bd309f818420c1e564b0f5b9b19a3d (patch) | |
tree | bb66b7e466572609279ba4eb38de08a58019f515 /common/lcd.c | |
parent | 4c8c485ad9249e1ca1822474954b78799ca937e9 (diff) | |
download | u-boot-dc6b5b3a15bd309f818420c1e564b0f5b9b19a3d.tar.xz |
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 'common/lcd.c')
-rw-r--r-- | common/lcd.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/common/lcd.c b/common/lcd.c index 3ed504df50..70b848c7e9 100644 --- a/common/lcd.c +++ b/common/lcd.c @@ -685,11 +685,7 @@ void bitmap_plot(int x, int y) *(cmap + BMP_LOGO_OFFSET) = lut_entry; cmap++; #else /* !CONFIG_ATMEL_LCD */ -#ifdef CONFIG_SYS_INVERT_COLORS - *cmap++ = 0xffff - colreg; -#else *cmap++ = colreg; -#endif #endif /* CONFIG_ATMEL_LCD */ } @@ -967,11 +963,7 @@ int lcd_display_bitmap(ulong bmp_image, int x, int y) ( ((cte.red) << 8) & 0xf800) | ( ((cte.green) << 3) & 0x07e0) | ( ((cte.blue) >> 3) & 0x001f) ; -#ifdef CONFIG_SYS_INVERT_COLORS - *cmap = 0xffff - colreg; -#else *cmap = colreg; -#endif #if defined(CONFIG_MPC823) cmap--; #else |