diff options
author | Anatolij Gustschin <agust@denx.de> | 2010-05-01 20:21:09 (GMT) |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2010-06-14 10:28:28 (GMT) |
commit | 105438200744ca81199606a7b62c9eb07ac6efbd (patch) | |
tree | e5bdb3063cd02672a1327966b0c710f7502d2dc1 /arch | |
parent | a6862bc123a9e6c93583879973679b0c5941a418 (diff) | |
download | u-boot-fsl-qoriq-105438200744ca81199606a7b62c9eb07ac6efbd.tar.xz |
video: cfb_console: add weak default video_set_lut()
Do not enforce drivers to provide empty video_set_lut()
if they do not implement indexed color (8 bpp) frame
buffer support. Add default function to the cfb_console
driver and remove empty video_set_lut() functions.
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/cpu/mpc512x/diu.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/powerpc/cpu/mpc512x/diu.c b/arch/powerpc/cpu/mpc512x/diu.c index f8d19a0..1cce6a2 100644 --- a/arch/powerpc/cpu/mpc512x/diu.c +++ b/arch/powerpc/cpu/mpc512x/diu.c @@ -179,18 +179,4 @@ void *video_hw_init(void) return (void *)pGD; } -/** - * Set the LUT - * - * @index: color number - * @r: red - * @b: blue - * @g: green - */ -void video_set_lut - (unsigned int index, unsigned char r, unsigned char g, unsigned char b) -{ - return; -} - #endif /* defined(CONFIG_VIDEO) || defined(CONFIG_CFB_CONSOLE) */ |