video: bmp: support 8bits BMP drawing on 24/32 bpp framebuffer
authorYe Li <ye.li@nxp.com>
Wed, 10 Jun 2020 09:52:23 +0000 (02:52 -0700)
committerAnatolij Gustschin <agust@denx.de>
Sat, 27 Jun 2020 22:18:37 +0000 (00:18 +0200)
commitbab68b2d889e7d3783c4f31b67025b086b7278c3
tree18cb6803caed85153b346e8251b2ea4635bb79ad
parenteae62ae8de1893f7cf08e276ab841d3f99245603
video: bmp: support 8bits BMP drawing on 24/32 bpp framebuffer

Update video bmp code so that we can display 8 bits logo on
24 or 32 bpp framebuffer.

Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Tested-by: Jagan Teki <jagan@amarulasolutions.com> # bpi-m1+, bpi-m64
drivers/video/video_bmp.c