summaryrefslogtreecommitdiff
path: root/firmware/target/arm
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm')
-rw-r--r--firmware/target/arm/imx233/creative-zenxfi2/lcd-zenxfi2.c2
-rw-r--r--firmware/target/arm/imx233/lcdif-imx233.h1
-rw-r--r--firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c2
3 files changed, 3 insertions, 2 deletions
diff --git a/firmware/target/arm/imx233/creative-zenxfi2/lcd-zenxfi2.c b/firmware/target/arm/imx233/creative-zenxfi2/lcd-zenxfi2.c
index 6917ea3f53..a2dd689fd3 100644
--- a/firmware/target/arm/imx233/creative-zenxfi2/lcd-zenxfi2.c
+++ b/firmware/target/arm/imx233/creative-zenxfi2/lcd-zenxfi2.c
@@ -152,8 +152,8 @@ static void lcd_init_seq(void)
152 152
153void lcd_init_device(void) 153void lcd_init_device(void)
154{ 154{
155 setup_lcdif();
156 setup_lcdif_clock(); 155 setup_lcdif_clock();
156 setup_lcdif();
157 157
158 // reset device 158 // reset device
159 imx233_lcdif_reset_lcd(true); 159 imx233_lcdif_reset_lcd(true);
diff --git a/firmware/target/arm/imx233/lcdif-imx233.h b/firmware/target/arm/imx233/lcdif-imx233.h
index dabc1f4c71..3554c86e06 100644
--- a/firmware/target/arm/imx233/lcdif-imx233.h
+++ b/firmware/target/arm/imx233/lcdif-imx233.h
@@ -31,6 +31,7 @@
31typedef void (*lcdif_irq_cb_t)(void); 31typedef void (*lcdif_irq_cb_t)(void);
32 32
33void imx233_lcdif_enable(bool enable); 33void imx233_lcdif_enable(bool enable);
34/* WARNING: pixclk must be running before calling lcdif_init */
34void imx233_lcdif_init(void);// reset lcdif block 35void imx233_lcdif_init(void);// reset lcdif block
35void imx233_lcdif_reset_lcd(bool enable);// set/clr reset line 36void imx233_lcdif_reset_lcd(bool enable);// set/clr reset line
36void imx233_lcdif_set_timings(unsigned data_setup, unsigned data_hold, 37void imx233_lcdif_set_timings(unsigned data_setup, unsigned data_hold,
diff --git a/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c b/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c
index 93189c14e5..7710104f55 100644
--- a/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c
+++ b/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c
@@ -387,8 +387,8 @@ void lcd_init_device(void)
387 lcd_dcp_channel = imx233_dcp_acquire_channel(TIMEOUT_NOBLOCK); 387 lcd_dcp_channel = imx233_dcp_acquire_channel(TIMEOUT_NOBLOCK);
388 if(lcd_dcp_channel < 0) 388 if(lcd_dcp_channel < 0)
389 panicf("imx233_framebuffer_init: imx233_dcp_acquire_channel failed!"); 389 panicf("imx233_framebuffer_init: imx233_dcp_acquire_channel failed!");
390 setup_lcdif();
391 setup_lcdif_clock(); 390 setup_lcdif_clock();
391 setup_lcdif();
392 392
393 for(int i = 0; i < 10; i++) 393 for(int i = 0; i < 10; i++)
394 { 394 {