summaryrefslogtreecommitdiff
path: root/arch/powerpc/cpu/mpc512x
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2010-05-01 22:21:09 +0200
committerAnatolij Gustschin <agust@denx.de>2010-06-14 12:28:28 +0200
commit105438200744ca81199606a7b62c9eb07ac6efbd (patch)
treee5bdb3063cd02672a1327966b0c710f7502d2dc1 /arch/powerpc/cpu/mpc512x
parenta6862bc123a9e6c93583879973679b0c5941a418 (diff)
downloadu-boot-imx-105438200744ca81199606a7b62c9eb07ac6efbd.zip
u-boot-imx-105438200744ca81199606a7b62c9eb07ac6efbd.tar.gz
u-boot-imx-105438200744ca81199606a7b62c9eb07ac6efbd.tar.bz2
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/powerpc/cpu/mpc512x')
-rw-r--r--arch/powerpc/cpu/mpc512x/diu.c14
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) */