static void identify_lcd(void)
{
SCU_IOMUXB_CON &= ~(1<<2);
GPIO_PCCON |= (1<<7);
GPIO_PCDR &= ~(1<<7);
udelay(1);
GPIO_PCDR |= (1<<7);
udelay(4);
GPIO_PCCON |= (1<<4);
GPIO_PCDR |= (1<<4);
if (GPIO_PCDR & (1<<4))
{
lcd_type = LCD_V1;
}
else
{
lcd_type = LCD_v2;
}
}