lcd: introduce getters for bg/fg color
authorNikita Kiryanov <nikita@compulab.co.il>
Mon, 8 Dec 2014 15:14:43 +0000 (17:14 +0200)
committerAnatolij Gustschin <agust@denx.de>
Sat, 10 Jan 2015 16:53:12 +0000 (17:53 +0100)
commit4d03634e5da40dc092b6e5b985f74aedfe04f81e
treea4a1f700cf83666591c6f278add58bfd9b8e43d3
parenta7de2953f51e70754190d3516167d58d27d17219
lcd: introduce getters for bg/fg color

Introduce lcd_getbgcolor() and lcd_getfgcolor(), and use them where
applicable.

This is a preparatory step for extracting lcd console code into its own
file.

Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Cc: Anatolij Gustschin <agust@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Acked-by: Simon Glass <sjg@chromium.org>
common/lcd.c
include/lcd.h