summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Dunn <mikedunn@newsguy.com>2013-04-12 11:59:14 -0700
committerMarek Vasut <marex@denx.de>2013-05-05 23:47:05 +0200
commit86e929e8252c9b2a6e74a9d53c9ef8a9d5353602 (patch)
tree3e425994bce4111e8e2b2da3af016991acb1bcd9
parent98eda33858e615611cb6a7c42527c3b72449ae04 (diff)
downloadu-boot-imx-86e929e8252c9b2a6e74a9d53c9ef8a9d5353602.zip
u-boot-imx-86e929e8252c9b2a6e74a9d53c9ef8a9d5353602.tar.gz
u-boot-imx-86e929e8252c9b2a6e74a9d53c9ef8a9d5353602.tar.bz2
pxa_lcd: make lcd_enable() a weak pointer
Make lcd_init() a weak pointer so that boards can overload it if necessary. The palmtreo680 board needs to wiggle some gpios and configure the pwm controller in order to get the lcd and its backlight working. Signed-off-by: Mike Dunn <mikedunn@newsguy.com>
-rw-r--r--drivers/video/pxa_lcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/pxa_lcd.c b/drivers/video/pxa_lcd.c
index d5fbe7b..5e4c685 100644
--- a/drivers/video/pxa_lcd.c
+++ b/drivers/video/pxa_lcd.c
@@ -410,7 +410,7 @@ void lcd_initcolregs (void)
#endif /* LCD_MONOCHROME */
/*----------------------------------------------------------------------*/
-void lcd_enable (void)
+__weak void lcd_enable(void)
{
}