diff options
author | Thomas Martitz <kugel@rockbox.org> | 2014-01-05 20:32:09 +0100 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2014-01-05 20:32:09 +0100 |
commit | 22a28f9caa2f96b52e1a427c32851298e14f8f33 (patch) | |
tree | 219467e72d72ea4204c28dcf6f8fd3643e5f8009 | |
parent | 2f4a94189da37e226a3a66766ed16726e04b5f36 (diff) | |
download | rockbox-22a28f9caa2f96b52e1a427c32851298e14f8f33.tar.gz rockbox-22a28f9caa2f96b52e1a427c32851298e14f8f33.zip |
Add missing kernel.h includes (hopefully all of them).
Change-Id: I9c1825296a788587b8d494d8514b3314847b0ff0
30 files changed, 66 insertions, 19 deletions
diff --git a/bootloader/rk27xx.c b/bootloader/rk27xx.c index c786271228..c623a971aa 100644 --- a/bootloader/rk27xx.c +++ b/bootloader/rk27xx.c | |||
@@ -1,7 +1,8 @@ | |||
1 | #include <stdio.h> | 1 | #include <stdio.h> |
2 | #include <system.h> | ||
3 | #include <inttypes.h> | 2 | #include <inttypes.h> |
4 | #include "config.h" | 3 | #include "config.h" |
4 | #include "system.h" | ||
5 | #include "kernel.h" | ||
5 | #include "gcc_extensions.h" | 6 | #include "gcc_extensions.h" |
6 | #include "lcd.h" | 7 | #include "lcd.h" |
7 | #include "font.h" | 8 | #include "font.h" |
diff --git a/firmware/drivers/audio/tlv320.c b/firmware/drivers/audio/tlv320.c index 9fa676f3d5..c4c748d527 100644 --- a/firmware/drivers/audio/tlv320.c +++ b/firmware/drivers/audio/tlv320.c | |||
@@ -18,9 +18,11 @@ | |||
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 "logf.h" | ||
23 | #include "system.h" | 23 | #include "system.h" |
24 | #include "kernel.h" | ||
25 | #include "logf.h" | ||
24 | #include "string.h" | 26 | #include "string.h" |
25 | #include "audio.h" | 27 | #include "audio.h" |
26 | 28 | ||
@@ -313,4 +315,3 @@ void audiohw_set_monitor(bool enable) | |||
313 | tlv320_write_reg(REG_PC, value_pc); | 315 | tlv320_write_reg(REG_PC, value_pc); |
314 | } | 316 | } |
315 | #endif /* HAVE_RECORDING */ | 317 | #endif /* HAVE_RECORDING */ |
316 | |||
diff --git a/firmware/drivers/audio/uda1380.c b/firmware/drivers/audio/uda1380.c index 9d6ece105b..debe299322 100644 --- a/firmware/drivers/audio/uda1380.c +++ b/firmware/drivers/audio/uda1380.c | |||
@@ -23,6 +23,7 @@ | |||
23 | #include "config.h" | 23 | #include "config.h" |
24 | #include "logf.h" | 24 | #include "logf.h" |
25 | #include "system.h" | 25 | #include "system.h" |
26 | #include "kernel.h" | ||
26 | #include "audio.h" | 27 | #include "audio.h" |
27 | #include "debug.h" | 28 | #include "debug.h" |
28 | #include "udacodec.h" | 29 | #include "udacodec.h" |
diff --git a/firmware/drivers/audio/wm8978.c b/firmware/drivers/audio/wm8978.c index 69ae608e5d..0730ff5118 100644 --- a/firmware/drivers/audio/wm8978.c +++ b/firmware/drivers/audio/wm8978.c | |||
@@ -20,8 +20,10 @@ | |||
20 | * KIND, either express or implied. | 20 | * KIND, either express or implied. |
21 | * | 21 | * |
22 | ****************************************************************************/ | 22 | ****************************************************************************/ |
23 | |||
23 | #include "config.h" | 24 | #include "config.h" |
24 | #include "system.h" | 25 | #include "system.h" |
26 | #include "kernel.h" | ||
25 | #include "audiohw.h" | 27 | #include "audiohw.h" |
26 | #include "wmcodec.h" | 28 | #include "wmcodec.h" |
27 | #include "audio.h" | 29 | #include "audio.h" |
diff --git a/firmware/target/arm/as3525/button-clip.c b/firmware/target/arm/as3525/button-clip.c index 2bd472c049..35b5e8af5e 100644 --- a/firmware/target/arm/as3525/button-clip.c +++ b/firmware/target/arm/as3525/button-clip.c | |||
@@ -20,7 +20,10 @@ | |||
20 | * KIND, either express or implied. | 20 | * KIND, either express or implied. |
21 | * | 21 | * |
22 | ****************************************************************************/ | 22 | ****************************************************************************/ |
23 | |||
24 | #include "config.h" | ||
23 | #include "system.h" | 25 | #include "system.h" |
26 | #include "kernel.h" | ||
24 | #include "button.h" | 27 | #include "button.h" |
25 | #include "as3525v2.h" | 28 | #include "as3525v2.h" |
26 | #ifndef BOOTLOADER | 29 | #ifndef BOOTLOADER |
diff --git a/firmware/target/arm/as3525/button-e200v2-fuze.c b/firmware/target/arm/as3525/button-e200v2-fuze.c index d8bb90ee98..7c29c74861 100644 --- a/firmware/target/arm/as3525/button-e200v2-fuze.c +++ b/firmware/target/arm/as3525/button-e200v2-fuze.c | |||
@@ -22,6 +22,7 @@ | |||
22 | 22 | ||
23 | #include "config.h" | 23 | #include "config.h" |
24 | #include "system.h" | 24 | #include "system.h" |
25 | #include "kernel.h" | ||
25 | #include "button.h" | 26 | #include "button.h" |
26 | #include "backlight.h" | 27 | #include "backlight.h" |
27 | #include "dbop-as3525.h" | 28 | #include "dbop-as3525.h" |
@@ -122,4 +123,3 @@ int button_read_device(void) | |||
122 | 123 | ||
123 | return btn; | 124 | return btn; |
124 | } | 125 | } |
125 | |||
diff --git a/firmware/target/arm/ata-nand-telechips.c b/firmware/target/arm/ata-nand-telechips.c index fe1314d35a..b8e572068c 100644 --- a/firmware/target/arm/ata-nand-telechips.c +++ b/firmware/target/arm/ata-nand-telechips.c | |||
@@ -18,10 +18,12 @@ | |||
18 | * KIND, either express or implied. | 18 | * KIND, either express or implied. |
19 | * | 19 | * |
20 | ****************************************************************************/ | 20 | ****************************************************************************/ |
21 | |||
22 | #include <string.h> | ||
23 | #include "system.h" | ||
24 | #include "kernel.h" | ||
21 | #include "nand.h" | 25 | #include "nand.h" |
22 | #include "ata-nand-target.h" | 26 | #include "ata-nand-target.h" |
23 | #include "system.h" | ||
24 | #include <string.h> | ||
25 | #include "led.h" | 27 | #include "led.h" |
26 | #include "panic.h" | 28 | #include "panic.h" |
27 | #include "nand_id.h" | 29 | #include "nand_id.h" |
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 | |||
diff --git a/firmware/target/arm/imx31/gigabeat-s/system-target.h b/firmware/target/arm/imx31/gigabeat-s/system-target.h index b12ca13bb5..c08b3acfed 100644 --- a/firmware/target/arm/imx31/gigabeat-s/system-target.h +++ b/firmware/target/arm/imx31/gigabeat-s/system-target.h | |||
@@ -23,6 +23,7 @@ | |||
23 | 23 | ||
24 | #include "system-arm.h" | 24 | #include "system-arm.h" |
25 | #include "mmu-arm.h" | 25 | #include "mmu-arm.h" |
26 | #include "kernel.h" | ||
26 | 27 | ||
27 | /* High enough for most tasks but low enough for reduced voltage */ | 28 | /* High enough for most tasks but low enough for reduced voltage */ |
28 | #define CPUFREQ_DEFAULT 264000000 | 29 | #define CPUFREQ_DEFAULT 264000000 |
diff --git a/firmware/target/arm/rk27xx/ma/audio-ma.c b/firmware/target/arm/rk27xx/ma/audio-ma.c index f842824c26..6a4da1a4f3 100644 --- a/firmware/target/arm/rk27xx/ma/audio-ma.c +++ b/firmware/target/arm/rk27xx/ma/audio-ma.c | |||
@@ -19,11 +19,12 @@ | |||
19 | * | 19 | * |
20 | ****************************************************************************/ | 20 | ****************************************************************************/ |
21 | 21 | ||
22 | #include "system.h" | ||
23 | #include "kernel.h" | ||
22 | #include "audiohw.h" | 24 | #include "audiohw.h" |
23 | #include "df1704.h" | 25 | #include "df1704.h" |
24 | #include "pca9555.h" | 26 | #include "pca9555.h" |
25 | #include "i2c-rk27xx.h" | 27 | #include "i2c-rk27xx.h" |
26 | #include "system.h" | ||
27 | 28 | ||
28 | void df1704_set_ml_dir(const int dir) | 29 | void df1704_set_ml_dir(const int dir) |
29 | { | 30 | { |
diff --git a/firmware/target/arm/rk27xx/ma/pca9555-ma.c b/firmware/target/arm/rk27xx/ma/pca9555-ma.c index 328a87e8ca..bec2fb17fa 100644 --- a/firmware/target/arm/rk27xx/ma/pca9555-ma.c +++ b/firmware/target/arm/rk27xx/ma/pca9555-ma.c | |||
@@ -20,6 +20,7 @@ | |||
20 | ****************************************************************************/ | 20 | ****************************************************************************/ |
21 | 21 | ||
22 | #include "system.h" | 22 | #include "system.h" |
23 | #include "kernel.h" | ||
23 | #include "i2c-rk27xx.h" | 24 | #include "i2c-rk27xx.h" |
24 | #include "pca9555.h" | 25 | #include "pca9555.h" |
25 | 26 | ||
diff --git a/firmware/target/arm/rk27xx/pcm-rk27xx.c b/firmware/target/arm/rk27xx/pcm-rk27xx.c index 4e6b8fe6b6..21feaf6cc4 100644 --- a/firmware/target/arm/rk27xx/pcm-rk27xx.c +++ b/firmware/target/arm/rk27xx/pcm-rk27xx.c | |||
@@ -19,7 +19,9 @@ | |||
19 | * KIND, either express or implied. | 19 | * KIND, either express or implied. |
20 | * | 20 | * |
21 | ****************************************************************************/ | 21 | ****************************************************************************/ |
22 | |||
22 | #include "system.h" | 23 | #include "system.h" |
24 | #include "kernel.h" | ||
23 | #include "audio.h" | 25 | #include "audio.h" |
24 | #include "string.h" | 26 | #include "string.h" |
25 | #include "panic.h" | 27 | #include "panic.h" |
diff --git a/firmware/target/arm/s3c2440/debug-s3c2440.c b/firmware/target/arm/s3c2440/debug-s3c2440.c index dcdea65011..de06a43bb9 100644 --- a/firmware/target/arm/s3c2440/debug-s3c2440.c +++ b/firmware/target/arm/s3c2440/debug-s3c2440.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include "config.h" | 22 | #include "config.h" |
23 | #include "cpu.h" | 23 | #include "cpu.h" |
24 | #include "system.h" | 24 | #include "system.h" |
25 | #include "kernel.h" | ||
25 | #include "string.h" | 26 | #include "string.h" |
26 | #include <stdbool.h> | 27 | #include <stdbool.h> |
27 | #include "button.h" | 28 | #include "button.h" |
diff --git a/firmware/target/arm/s3c2440/i2c-s3c2440.c b/firmware/target/arm/s3c2440/i2c-s3c2440.c index 33c4e3180a..b8fbb19003 100644 --- a/firmware/target/arm/s3c2440/i2c-s3c2440.c +++ b/firmware/target/arm/s3c2440/i2c-s3c2440.c | |||
@@ -18,7 +18,9 @@ | |||
18 | * KIND, either express or implied. | 18 | * KIND, either express or implied. |
19 | * | 19 | * |
20 | ****************************************************************************/ | 20 | ****************************************************************************/ |
21 | |||
21 | #include "system.h" | 22 | #include "system.h" |
23 | #include "kernel.h" | ||
22 | #include "i2c-s3c2440.h" | 24 | #include "i2c-s3c2440.h" |
23 | 25 | ||
24 | static struct semaphore i2c_complete; /* Transfer completion signal */ | 26 | static struct semaphore i2c_complete; /* Transfer completion signal */ |
diff --git a/firmware/target/arm/s3c2440/lcd-s3c2440.c b/firmware/target/arm/s3c2440/lcd-s3c2440.c index 1631e350f3..55e151376b 100644 --- a/firmware/target/arm/s3c2440/lcd-s3c2440.c +++ b/firmware/target/arm/s3c2440/lcd-s3c2440.c | |||
@@ -19,8 +19,10 @@ | |||
19 | * KIND, either express or implied. | 19 | * KIND, either express or implied. |
20 | * | 20 | * |
21 | ****************************************************************************/ | 21 | ****************************************************************************/ |
22 | |||
22 | #include "config.h" | 23 | #include "config.h" |
23 | #include "system.h" | 24 | #include "system.h" |
25 | #include "kernel.h" | ||
24 | #include "lcd.h" | 26 | #include "lcd.h" |
25 | #include "lcd-target.h" | 27 | #include "lcd-target.h" |
26 | 28 | ||
diff --git a/firmware/target/arm/s5l8700/system-target.h b/firmware/target/arm/s5l8700/system-target.h index 170794a999..efd66fe43b 100644 --- a/firmware/target/arm/s5l8700/system-target.h +++ b/firmware/target/arm/s5l8700/system-target.h | |||
@@ -23,6 +23,7 @@ | |||
23 | 23 | ||
24 | #include "system-arm.h" | 24 | #include "system-arm.h" |
25 | #include "mmu-arm.h" | 25 | #include "mmu-arm.h" |
26 | #include "kernel.h" | ||
26 | 27 | ||
27 | #define CPUFREQ_SLEEP 32768 | 28 | #define CPUFREQ_SLEEP 32768 |
28 | #define CPUFREQ_MAX (1843200 * 4 * 26 / 1) /* 191692800 Hz */ | 29 | #define CPUFREQ_MAX (1843200 * 4 * 26 / 1) /* 191692800 Hz */ |
diff --git a/firmware/target/arm/s5l8702/system-target.h b/firmware/target/arm/s5l8702/system-target.h index ba05c2f6fb..202ac83051 100644 --- a/firmware/target/arm/s5l8702/system-target.h +++ b/firmware/target/arm/s5l8702/system-target.h | |||
@@ -23,6 +23,7 @@ | |||
23 | 23 | ||
24 | #include "system-arm.h" | 24 | #include "system-arm.h" |
25 | #include "mmu-arm.h" | 25 | #include "mmu-arm.h" |
26 | #include "kernel.h" | ||
26 | 27 | ||
27 | #define CPUFREQ_SLEEP 32768 | 28 | #define CPUFREQ_SLEEP 32768 |
28 | #define CPUFREQ_MAX 216000000 | 29 | #define CPUFREQ_MAX 216000000 |
diff --git a/firmware/target/arm/tcc780x/system-target.h b/firmware/target/arm/tcc780x/system-target.h index fe66a6eb68..a369c2fb9a 100644 --- a/firmware/target/arm/tcc780x/system-target.h +++ b/firmware/target/arm/tcc780x/system-target.h | |||
@@ -23,6 +23,7 @@ | |||
23 | 23 | ||
24 | #include "system-arm.h" | 24 | #include "system-arm.h" |
25 | #include "mmu-arm.h" | 25 | #include "mmu-arm.h" |
26 | #include "kernel.h" /* TIME_BEFORE */ | ||
26 | 27 | ||
27 | #define CPUFREQ_DEFAULT 32000000 | 28 | #define CPUFREQ_DEFAULT 32000000 |
28 | #define CPUFREQ_NORMAL 48000000 | 29 | #define CPUFREQ_NORMAL 48000000 |
diff --git a/firmware/target/arm/tms320dm320/debug-dm320.c b/firmware/target/arm/tms320dm320/debug-dm320.c index 89d8d506b3..37e48d16a2 100644 --- a/firmware/target/arm/tms320dm320/debug-dm320.c +++ b/firmware/target/arm/tms320dm320/debug-dm320.c | |||
@@ -23,6 +23,7 @@ | |||
23 | #include "config.h" | 23 | #include "config.h" |
24 | #include "cpu.h" | 24 | #include "cpu.h" |
25 | #include "system.h" | 25 | #include "system.h" |
26 | #include "kernel.h" | ||
26 | #include "string.h" | 27 | #include "string.h" |
27 | #include <stdbool.h> | 28 | #include <stdbool.h> |
28 | #include "button.h" | 29 | #include "button.h" |
diff --git a/firmware/target/arm/tms320dm320/i2c-dm320.c b/firmware/target/arm/tms320dm320/i2c-dm320.c index c2010199e1..629dae394c 100644 --- a/firmware/target/arm/tms320dm320/i2c-dm320.c +++ b/firmware/target/arm/tms320dm320/i2c-dm320.c | |||
@@ -21,8 +21,9 @@ | |||
21 | * KIND, either express or implied. | 21 | * KIND, either express or implied. |
22 | * | 22 | * |
23 | ****************************************************************************/ | 23 | ****************************************************************************/ |
24 | |||
24 | #include "system.h" | 25 | #include "system.h" |
25 | #include "thread.h" | 26 | #include "kernel.h" |
26 | #include "i2c-dm320.h" | 27 | #include "i2c-dm320.h" |
27 | 28 | ||
28 | #ifdef HAVE_SOFTWARE_I2C | 29 | #ifdef HAVE_SOFTWARE_I2C |
diff --git a/firmware/target/coldfire/debug-coldfire.c b/firmware/target/coldfire/debug-coldfire.c index acc2c411eb..249c0a75ab 100644 --- a/firmware/target/coldfire/debug-coldfire.c +++ b/firmware/target/coldfire/debug-coldfire.c | |||
@@ -19,9 +19,11 @@ | |||
19 | * | 19 | * |
20 | ****************************************************************************/ | 20 | ****************************************************************************/ |
21 | 21 | ||
22 | #include <stdbool.h> | ||
23 | |||
22 | #include "config.h" | 24 | #include "config.h" |
23 | #include "system.h" | 25 | #include "system.h" |
24 | #include <stdbool.h> | 26 | #include "kernel.h" |
25 | #include "font.h" | 27 | #include "font.h" |
26 | #include "lcd.h" | 28 | #include "lcd.h" |
27 | #include "button.h" | 29 | #include "button.h" |
diff --git a/firmware/target/coldfire/iriver/lcd-remote-iriver.c b/firmware/target/coldfire/iriver/lcd-remote-iriver.c index 03c0e40dbe..fcf741af3f 100644 --- a/firmware/target/coldfire/iriver/lcd-remote-iriver.c +++ b/firmware/target/coldfire/iriver/lcd-remote-iriver.c | |||
@@ -21,6 +21,7 @@ | |||
21 | 21 | ||
22 | #include "config.h" | 22 | #include "config.h" |
23 | #include "system.h" | 23 | #include "system.h" |
24 | #include "kernel.h" | ||
24 | #include "file.h" | 25 | #include "file.h" |
25 | #include "lcd-remote.h" | 26 | #include "lcd-remote.h" |
26 | #include "adc.h" | 27 | #include "adc.h" |
diff --git a/firmware/target/sh/archos/player/lcd-player.c b/firmware/target/sh/archos/player/lcd-player.c index 330cc266bc..95b0164bf5 100644 --- a/firmware/target/sh/archos/player/lcd-player.c +++ b/firmware/target/sh/archos/player/lcd-player.c | |||
@@ -20,10 +20,11 @@ | |||
20 | * | 20 | * |
21 | ****************************************************************************/ | 21 | ****************************************************************************/ |
22 | 22 | ||
23 | #include "config.h" | ||
24 | #include <string.h> | 23 | #include <string.h> |
25 | #include "hwcompat.h" | 24 | #include "config.h" |
26 | #include "system.h" | 25 | #include "system.h" |
26 | #include "kernel.h" | ||
27 | #include "hwcompat.h" | ||
27 | #include "lcd.h" | 28 | #include "lcd.h" |
28 | #include "lcd-charcell.h" | 29 | #include "lcd-charcell.h" |
29 | 30 | ||
diff --git a/firmware/target/sh/debug-sh.c b/firmware/target/sh/debug-sh.c index 180c37f3c6..bee4896174 100644 --- a/firmware/target/sh/debug-sh.c +++ b/firmware/target/sh/debug-sh.c | |||
@@ -19,10 +19,12 @@ | |||
19 | * | 19 | * |
20 | ****************************************************************************/ | 20 | ****************************************************************************/ |
21 | 21 | ||
22 | #include "config.h" | ||
23 | #include "system.h" | ||
24 | #include <stdbool.h> | 22 | #include <stdbool.h> |
25 | #include <string.h> | 23 | #include <string.h> |
24 | |||
25 | #include "config.h" | ||
26 | #include "system.h" | ||
27 | #include "kernel.h" | ||
26 | #include "font.h" | 28 | #include "font.h" |
27 | #include "lcd.h" | 29 | #include "lcd.h" |
28 | #include "button.h" | 30 | #include "button.h" |