fuze+/zenxfi2: make sure pixclk is running before initialising lcdif

Change-Id: I50b2376d5f6dcf4dde994b533e0b946589a737e8
This commit is contained in:
Amaury Pouly 2013-09-26 22:54:29 +02:00
parent b60712deb6
commit 4c6c8cd1aa
3 changed files with 3 additions and 2 deletions

View file

@ -152,8 +152,8 @@ static void lcd_init_seq(void)
void lcd_init_device(void)
{
setup_lcdif();
setup_lcdif_clock();
setup_lcdif();
// reset device
imx233_lcdif_reset_lcd(true);

View file

@ -31,6 +31,7 @@
typedef void (*lcdif_irq_cb_t)(void);
void imx233_lcdif_enable(bool enable);
/* WARNING: pixclk must be running before calling lcdif_init */
void imx233_lcdif_init(void);// reset lcdif block
void imx233_lcdif_reset_lcd(bool enable);// set/clr reset line
void imx233_lcdif_set_timings(unsigned data_setup, unsigned data_hold,

View file

@ -387,8 +387,8 @@ void lcd_init_device(void)
lcd_dcp_channel = imx233_dcp_acquire_channel(TIMEOUT_NOBLOCK);
if(lcd_dcp_channel < 0)
panicf("imx233_framebuffer_init: imx233_dcp_acquire_channel failed!");
setup_lcdif();
setup_lcdif_clock();
setup_lcdif();
for(int i = 0; i < 10; i++)
{