aboutsummaryrefslogtreecommitdiff
path: root/common/lcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/lcd.c')
-rw-r--r--common/lcd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/common/lcd.c b/common/lcd.c
index d238fdde8..41551707d 100644
--- a/common/lcd.c
+++ b/common/lcd.c
@@ -622,7 +622,10 @@ void bitmap_plot (int x, int y)
*/
int lcd_display_bitmap(ulong bmp_image, int x, int y)
{
- ushort *cmap = NULL, *cmap_base = NULL;
+#if !defined(CONFIG_MCC200)
+ ushort *cmap = NULL;
+#endif
+ ushort *cmap_base = NULL;
ushort i, j;
uchar *fb;
bmp_image_t *bmp=(bmp_image_t *)bmp_image;