diff options
Diffstat (limited to 'board/lge/sniper/panel-hub.c')
-rwxr-xr-x | board/lge/sniper/panel-hub.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/board/lge/sniper/panel-hub.c b/board/lge/sniper/panel-hub.c index 5b3e0ad08bb..be22f5c2412 100755 --- a/board/lge/sniper/panel-hub.c +++ b/board/lge/sniper/panel-hub.c @@ -13,7 +13,6 @@ * */ #include <common.h> -#include <asm/arch/bits.h> #include <asm/io.h> #include <asm/arch/gpio.h> #include <asm/arch/cpu.h> @@ -483,6 +482,7 @@ void hub_panel_reset_lcd(void) extern void aat2862_ldo_enabled(int enable); +/* omap_set_gpio_direction(HUB_PANEL_LCD_RESET_N, 0); mdelay(2); omap_set_gpio_dataout(HUB_PANEL_LCD_RESET_N, 0); @@ -490,6 +490,7 @@ void hub_panel_reset_lcd(void) mdelay(50); omap_set_gpio_dataout(HUB_PANEL_LCD_RESET_N, 1); mdelay(10); +*/ return; @@ -539,6 +540,16 @@ int hub_panel_enable(void) int hub_panel_init_lcd(void) { u32 val; + + hub_panel_enable(); + + if (!lcd_present()) { + printf("LCD is NOT present at this point\n"); + } else { + printf("LCD IS present at this point\n"); + } + +/* val = *((volatile unsigned int *)0x48005000) | (1<<13); *((volatile unsigned int *)0x48005000) = val; val = *((volatile unsigned int *)0x48005010) | (1<<13); @@ -549,6 +560,7 @@ int hub_panel_init_lcd(void) hub_panel_enable(); if (!lcd_present()) hub_add_bootargs(" nolcd"); +*/ // u8 mode; |