]> git.sur5r.net Git - u-boot/commit
lcd: restore ability to display 8 bpp BMPs on 16 bpp LCDs
authorNikita Kiryanov <nikita@compulab.co.il>
Thu, 20 Dec 2012 00:52:34 +0000 (00:52 +0000)
committerAnatolij Gustschin <agust@denx.de>
Mon, 14 Jan 2013 19:16:45 +0000 (20:16 +0100)
commitdad631ccf720b78201e4b026422bb347fec64f5a
tree39311e672f73f121663b597eb0a0269e93b2172a
parentfd70aa41468be4324275910f85578cb5be6a0439
lcd: restore ability to display 8 bpp BMPs on 16 bpp LCDs

Commit fb6a9aab7ae78c (LCD: display 32bpp decompressed bitmap image)
broke the check that allowed U-Boot to display 8 bpp BMPs on a 16
bpp LCD screen, effectively turning this feature off.

Restore this feature by changing the check back to the same meaning
it originally had.
To avoid future confusion, the check has also been rephrased to make
its meaning clear.

Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
common/lcd.c