summaryrefslogtreecommitdiff
path: root/board/freescale/mpc8610hpcd/mpc8610hpcd_diu.c
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 /board/freescale/mpc8610hpcd/mpc8610hpcd_diu.c
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 'board/freescale/mpc8610hpcd/mpc8610hpcd_diu.c')
-rw-r--r--board/freescale/mpc8610hpcd/mpc8610hpcd_diu.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/board/freescale/mpc8610hpcd/mpc8610hpcd_diu.c b/board/freescale/mpc8610hpcd/mpc8610hpcd_diu.c
index 94fb1eb..a7b7f45 100644
--- a/board/freescale/mpc8610hpcd/mpc8610hpcd_diu.c
+++ b/board/freescale/mpc8610hpcd/mpc8610hpcd_diu.c
@@ -183,15 +183,6 @@ void *video_hw_init(void)
return (void *)pGD;
}
-void video_set_lut (unsigned int index, /* color number */
- unsigned char r, /* red */
- unsigned char g, /* green */
- unsigned char b /* blue */
- )
-{
- return;
-}
-
#endif /* defined(CONFIG_VIDEO) || defined(CONFIG_CFB_CONSOLE) */
#endif /* CONFIG_FSL_DIU_FB */