summaryrefslogtreecommitdiff
path: root/drivers/video/pxa_lcd.c
diff options
context:
space:
mode:
authorJeroen Hofstee <jeroen@myspectrum.nl>2013-01-22 10:44:13 +0000
committerAnatolij Gustschin <agust@denx.de>2013-03-21 10:35:27 +0100
commit2e72972a44b152a8b7d8dd9259e9c6b30ed7d4f3 (patch)
treeae7dfca908a2fda029b03eaf905ce6955f3e2962 /drivers/video/pxa_lcd.c
parent6b035141f6459df01065f455cbf9c1928f2db16a (diff)
downloadu-boot-imx-2e72972a44b152a8b7d8dd9259e9c6b30ed7d4f3.zip
u-boot-imx-2e72972a44b152a8b7d8dd9259e9c6b30ed7d4f3.tar.gz
u-boot-imx-2e72972a44b152a8b7d8dd9259e9c6b30ed7d4f3.tar.bz2
lcd, fb: remove duplicated prototypes and unused code
cc: Anatolij Gustschin <agust@denx.de> cc: Cliff Brake <cliff.brake@gmail.com> cc: John Zhan <zhanz@sinovee.com> cc: Marek Vasut <marek.vasut@gmail.com> cc: Wolfgang Denk <wd@denx.de> Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Diffstat (limited to 'drivers/video/pxa_lcd.c')
-rw-r--r--drivers/video/pxa_lcd.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/drivers/video/pxa_lcd.c b/drivers/video/pxa_lcd.c
index fef49c1..b40ec36 100644
--- a/drivers/video/pxa_lcd.c
+++ b/drivers/video/pxa_lcd.c
@@ -317,26 +317,10 @@ vidinfo_t panel_info = {
/*----------------------------------------------------------------------*/
-#if LCD_BPP == LCD_COLOR8
-void lcd_setcolreg (ushort regno, ushort red, ushort green, ushort blue);
-#endif
-#if LCD_BPP == LCD_MONOCHROME
-void lcd_initcolregs (void);
-#endif
-
-#ifdef NOT_USED_SO_FAR
-void lcd_disable (void);
-void lcd_getcolreg (ushort regno, ushort *red, ushort *green, ushort *blue);
-#endif /* NOT_USED_SO_FAR */
-
-void lcd_ctrl_init (void *lcdbase);
-void lcd_enable (void);
-
static int pxafb_init_mem (void *lcdbase, vidinfo_t *vid);
static void pxafb_setup_gpio (vidinfo_t *vid);
static void pxafb_enable_controller (vidinfo_t *vid);
static int pxafb_init (vidinfo_t *vid);
-/************************************************************************/
/************************************************************************/
/* --------------- PXA chipset specific functions ------------------- */
@@ -351,14 +335,6 @@ void lcd_ctrl_init (void *lcdbase)
}
/*----------------------------------------------------------------------*/
-#ifdef NOT_USED_SO_FAR
-void
-lcd_getcolreg (ushort regno, ushort *red, ushort *green, ushort *blue)
-{
-}
-#endif /* NOT_USED_SO_FAR */
-
-/*----------------------------------------------------------------------*/
#if LCD_BPP == LCD_COLOR8
void
lcd_setcolreg (ushort regno, ushort red, ushort green, ushort blue)
@@ -406,15 +382,6 @@ void lcd_enable (void)
{
}
-/*----------------------------------------------------------------------*/
-#ifdef NOT_USED_SO_FAR
-static void lcd_disable (void)
-{
-}
-#endif /* NOT_USED_SO_FAR */
-
-/*----------------------------------------------------------------------*/
-
/************************************************************************/
/* ** PXA255 specific routines */
/************************************************************************/