common lcd: simplify lcd_display_bitmap
authorNikita Kiryanov <nikita@compulab.co.il>
Thu, 9 Aug 2012 00:14:53 +0000 (00:14 +0000)
committerAnatolij Gustschin <agust@denx.de>
Wed, 5 Sep 2012 08:28:31 +0000 (10:28 +0200)
commitbfdcc65e1163b4891643c2a670570c478b9af2a4
treeca8acbcacc8093af6234fe0c2606518027ada790
parent203c37b8c5556aad1901ce4954792afd718c7d42
common lcd: simplify lcd_display_bitmap

Move highly platform dependant code into its own functions to reduce the
number of #ifdefs in lcd_display_bitmap

To avoid breaking the mcc200 board which does not #define
CONFIG_CMD_BMP, this patch also implements bmp_display() for mcc200.

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