]> git.sur5r.net Git - u-boot/blobdiff - common/lcd.c
ppc4xx: Remove compilation warning "pci_async_enabled defined but not used"
[u-boot] / common / lcd.c
index d238fdde858b5819f814ea7ac9784ffaddd93050..74a5c77693f8b09e5e12d99645faac3188738881 100644 (file)
@@ -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;