lcd: Support colour lookup table on 16bpp display in BMP images
authorSimon Glass <sjg@chromium.org>
Wed, 13 May 2015 13:02:28 +0000 (07:02 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 11 Jun 2015 01:26:55 +0000 (19:26 -0600)
commit8d379f179a18d6e9f3d7af8873c942a6834fb780
treeea8c2c04288dcc5c1a385a1e47602d47ee35bfd0
parent1c3dbe56f720132723a89709ef5f2baeb52b44d4
lcd: Support colour lookup table on 16bpp display in BMP images

For 16-bit-per-pixel displays it is useful to support 8 bit-per-pixel
images to reduce image size. Add support for this when drawing BMP images.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/lcd.c