X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Flcd.c;h=74a5c77693f8b09e5e12d99645faac3188738881;hb=20b3c4b528606d51799aed5e4c71783720cd2b72;hp=d238fdde858b5819f814ea7ac9784ffaddd93050;hpb=7fe2a9839423a619b5e232646f93ad915ac2029e;p=u-boot diff --git a/common/lcd.c b/common/lcd.c index d238fdde85..74a5c77693 100644 --- a/common/lcd.c +++ b/common/lcd.c @@ -427,7 +427,7 @@ static int lcd_clear (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]) U_BOOT_CMD( cls, 1, 1, lcd_clear, "clear screen", - NULL + "" ); /*----------------------------------------------------------------------*/ @@ -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;