]> git.sur5r.net Git - u-boot/blobdiff - drivers/video/atmel_lcdfb.c
x86: fsp: Call fsp_init_phase_pci() in pci_uclass_post_probe()
[u-boot] / drivers / video / atmel_lcdfb.c
index 5add1369ef8a33ca5e0ac77784d717bc72420dce..d43d8a59d3b78606ea242b0334dac690d511e0b4 100644 (file)
@@ -21,7 +21,7 @@
 #define ATMEL_LCDC_GUARD_TIME          1
 #endif
 
-#if defined(CONFIG_AT91SAM9263) || defined(CONFIG_AT91CAP9)
+#if defined(CONFIG_AT91SAM9263)
 #define ATMEL_LCDC_FIFO_SIZE           2048
 #else
 #define ATMEL_LCDC_FIFO_SIZE           512
@@ -81,12 +81,12 @@ void lcd_setcolreg(ushort regno, ushort red, ushort green, ushort blue)
 #endif
 }
 
-void lcd_set_cmap(bmp_image_t *bmp, unsigned colors)
+void lcd_set_cmap(struct bmp_image *bmp, unsigned colors)
 {
        int i;
 
        for (i = 0; i < colors; ++i) {
-               bmp_color_table_entry_t cte = bmp->color_table[i];
+               struct bmp_color_table_entry cte = bmp->color_table[i];
                lcd_setcolreg(i, cte.red, cte.green, cte.blue);
        }
 }