]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/lcd.c
usb: gadget: Call g_dnl_bind_fixup() before testing g_dnl_serial length
[people/ms/u-boot.git] / common / lcd.c
index 2405146cf09042e58a352a7aa29bd5dbacf93090..7e399cee2de6822a56703870302aa4eec987cc59 100644 (file)
@@ -562,11 +562,7 @@ __weak void lcd_set_cmap(struct bmp_image *bmp, unsigned colors)
                *cmap = (((cte.red)   << 8) & 0xf800) |
                        (((cte.green) << 3) & 0x07e0) |
                        (((cte.blue)  >> 3) & 0x001f);
-#if defined(CONFIG_MPC823)
-               cmap--;
-#else
                cmap++;
-#endif
        }
 }