summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx233
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/imx233')
-rw-r--r--firmware/target/arm/imx233/adc-imx233.c2
-rw-r--r--firmware/target/arm/imx233/audioout-imx233.c8
-rw-r--r--firmware/target/arm/imx233/button-lradc-imx233.c6
-rw-r--r--firmware/target/arm/imx233/creative-zen/lcd-zen.c3
-rw-r--r--firmware/target/arm/imx233/dcp-imx233.c4
-rw-r--r--firmware/target/arm/imx233/debug-imx233.c2
-rw-r--r--firmware/target/arm/imx233/dma-imx233.c3
7 files changed, 22 insertions, 6 deletions
diff --git a/firmware/target/arm/imx233/adc-imx233.c b/firmware/target/arm/imx233/adc-imx233.c
index 36ac0f4eae..f3b7869159 100644
--- a/firmware/target/arm/imx233/adc-imx233.c
+++ b/firmware/target/arm/imx233/adc-imx233.c
@@ -19,8 +19,10 @@
19 * 19 *
20 ****************************************************************************/ 20 ****************************************************************************/
21 21
22#include "config.h"
22#include "adc-target.h" 23#include "adc-target.h"
23#include "system.h" 24#include "system.h"
25#include "kernel.h"
24#include "powermgmt-target.h" 26#include "powermgmt-target.h"
25#include "lradc-imx233.h" 27#include "lradc-imx233.h"
26#include "power-imx233.h" 28#include "power-imx233.h"
diff --git a/firmware/target/arm/imx233/audioout-imx233.c b/firmware/target/arm/imx233/audioout-imx233.c
index 26a480d05c..c92804c2d4 100644
--- a/firmware/target/arm/imx233/audioout-imx233.c
+++ b/firmware/target/arm/imx233/audioout-imx233.c
@@ -18,11 +18,15 @@
18 * KIND, either express or implied. 18 * KIND, either express or implied.
19 * 19 *
20 ****************************************************************************/ 20 ****************************************************************************/
21
22#include <string.h>
23
24#include "config.h"
25#include "kernel.h"
21#include "audioout-imx233.h" 26#include "audioout-imx233.h"
22#include "clkctrl-imx233.h" 27#include "clkctrl-imx233.h"
23#include "rtc-imx233.h" 28#include "rtc-imx233.h"
24#include "pcm_sampr.h" 29#include "pcm_sampr.h"
25#include "string.h"
26#include "audio-target.h" 30#include "audio-target.h"
27 31
28#ifndef IMX233_AUDIO_COUPLING_MODE 32#ifndef IMX233_AUDIO_COUPLING_MODE
@@ -294,4 +298,4 @@ struct imx233_audioout_info_t imx233_audioout_get_info(void)
294 info.dac = !BF_RD(AUDIOOUT_PWRDN, DAC); 298 info.dac = !BF_RD(AUDIOOUT_PWRDN, DAC);
295 info.capless = BF_RD(AUDIOOUT_PWRDN, CAPLESS); 299 info.capless = BF_RD(AUDIOOUT_PWRDN, CAPLESS);
296 return info; 300 return info;
297} \ No newline at end of file 301}
diff --git a/firmware/target/arm/imx233/button-lradc-imx233.c b/firmware/target/arm/imx233/button-lradc-imx233.c
index 5e3b7165a6..6bb7f9babe 100644
--- a/firmware/target/arm/imx233/button-lradc-imx233.c
+++ b/firmware/target/arm/imx233/button-lradc-imx233.c
@@ -18,8 +18,12 @@
18 * KIND, either express or implied. 18 * KIND, either express or implied.
19 * 19 *
20 ****************************************************************************/ 20 ****************************************************************************/
21
22#include <stdlib.h>
23
24#include "cpu.h"
25#include "kernel.h"
21#include "button-lradc-imx233.h" 26#include "button-lradc-imx233.h"
22#include "stdlib.h"
23#include "lradc-imx233.h" 27#include "lradc-imx233.h"
24#include "pinctrl-imx233.h" 28#include "pinctrl-imx233.h"
25 29
diff --git a/firmware/target/arm/imx233/creative-zen/lcd-zen.c b/firmware/target/arm/imx233/creative-zen/lcd-zen.c
index 7e9e98271c..c653b54848 100644
--- a/firmware/target/arm/imx233/creative-zen/lcd-zen.c
+++ b/firmware/target/arm/imx233/creative-zen/lcd-zen.c
@@ -18,10 +18,12 @@
18 * KIND, either express or implied. 18 * KIND, either express or implied.
19 * 19 *
20 ****************************************************************************/ 20 ****************************************************************************/
21
21#include <sys/types.h> /* off_t */ 22#include <sys/types.h> /* off_t */
22#include <string.h> 23#include <string.h>
23#include "cpu.h" 24#include "cpu.h"
24#include "system.h" 25#include "system.h"
26#include "kernel.h"
25#include "backlight-target.h" 27#include "backlight-target.h"
26#include "lcd.h" 28#include "lcd.h"
27#include "lcdif-imx233.h" 29#include "lcdif-imx233.h"
@@ -346,4 +348,3 @@ void lcd_update_rect(int x, int y, int w, int h)
346 } 348 }
347 } 349 }
348} 350}
349
diff --git a/firmware/target/arm/imx233/dcp-imx233.c b/firmware/target/arm/imx233/dcp-imx233.c
index 8c0c1c4592..c800d890d3 100644
--- a/firmware/target/arm/imx233/dcp-imx233.c
+++ b/firmware/target/arm/imx233/dcp-imx233.c
@@ -18,8 +18,10 @@
18 * KIND, either express or implied. 18 * KIND, either express or implied.
19 * 19 *
20 ****************************************************************************/ 20 ****************************************************************************/
21
21#include "config.h" 22#include "config.h"
22#include "system.h" 23#include "system.h"
24#include "kernel.h"
23#include "dcp-imx233.h" 25#include "dcp-imx233.h"
24#include "string.h" 26#include "string.h"
25#include "kernel-imx233.h" 27#include "kernel-imx233.h"
@@ -247,4 +249,4 @@ struct imx233_dcp_info_t imx233_dcp_get_info(unsigned flags)
247 info.csc.enable = HW_DCP_CSCCTRL0 & HW_DCP_CSCCTRL0__ENABLE; 249 info.csc.enable = HW_DCP_CSCCTRL0 & HW_DCP_CSCCTRL0__ENABLE;
248 } 250 }
249 return info; 251 return info;
250} \ No newline at end of file 252}
diff --git a/firmware/target/arm/imx233/debug-imx233.c b/firmware/target/arm/imx233/debug-imx233.c
index 55dbe183b4..6fe59cad20 100644
--- a/firmware/target/arm/imx233/debug-imx233.c
+++ b/firmware/target/arm/imx233/debug-imx233.c
@@ -19,7 +19,9 @@
19 * 19 *
20 ****************************************************************************/ 20 ****************************************************************************/
21 21
22#include "cpu.h"
22#include "system.h" 23#include "system.h"
24#include "kernel.h"
23#include "dma-imx233.h" 25#include "dma-imx233.h"
24#include "lcd.h" 26#include "lcd.h"
25#include "font.h" 27#include "font.h"
diff --git a/firmware/target/arm/imx233/dma-imx233.c b/firmware/target/arm/imx233/dma-imx233.c
index 81ae5aeb72..6727e9b95b 100644
--- a/firmware/target/arm/imx233/dma-imx233.c
+++ b/firmware/target/arm/imx233/dma-imx233.c
@@ -18,8 +18,10 @@
18 * KIND, either express or implied. 18 * KIND, either express or implied.
19 * 19 *
20 ****************************************************************************/ 20 ****************************************************************************/
21
21#include "config.h" 22#include "config.h"
22#include "system.h" 23#include "system.h"
24#include "kernel.h"
23#include "dma-imx233.h" 25#include "dma-imx233.h"
24#include "lcd.h" 26#include "lcd.h"
25#include "string.h" 27#include "string.h"
@@ -287,4 +289,3 @@ struct imx233_dma_info_t imx233_dma_get_info(unsigned chan, unsigned flags)
287 s.nr_unaligned = apb_nr_unaligned[chan]; 289 s.nr_unaligned = apb_nr_unaligned[chan];
288 return s; 290 return s;
289} 291}
290