lcd: logo: move generic cmap setting to lcd_logo_set_cmap()
authorNikita Kiryanov <nikita@compulab.co.il>
Tue, 3 Feb 2015 11:32:26 +0000 (13:32 +0200)
committerAnatolij Gustschin <agust@denx.de>
Tue, 10 Feb 2015 12:28:30 +0000 (13:28 +0100)
commit2306457c4534d5cbadb834a2a185db3ef38e12c8
tree31a703ed0822db2a7225d8d30a07f8d7109038e2
parent0ee261f6d3f387a33687bff29342e9321e2f8194
lcd: logo: move generic cmap setting to lcd_logo_set_cmap()

Get rid of platform-specific #ifdefs in bitmap_plot() by moving the generic
case of setting cmap into the weak lcd_logo_set_cmap().

Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Bo Shen <voice.shen@atmel.com>
Tested-by: Josh Wu <josh.wu@atmel.com>
Cc: Bo Shen <voice.shen@atmel.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Anatolij Gustschin <agust@denx.de>
common/lcd.c