forked from len0rd/rockbox
Add missing kernel.h includes (hopefully all of them).
Change-Id: I9c1825296a788587b8d494d8514b3314847b0ff0
This commit is contained in:
parent
2f4a94189d
commit
22a28f9caa
30 changed files with 66 additions and 19 deletions
|
|
@ -1,7 +1,8 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <system.h>
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
#include "system.h"
|
||||||
|
#include "kernel.h"
|
||||||
#include "gcc_extensions.h"
|
#include "gcc_extensions.h"
|
||||||
#include "lcd.h"
|
#include "lcd.h"
|
||||||
#include "font.h"
|
#include "font.h"
|
||||||
|
|
|
||||||
|
|
@ -18,9 +18,11 @@
|
||||||
* KIND, either express or implied.
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "logf.h"
|
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
|
#include "kernel.h"
|
||||||
|
#include "logf.h"
|
||||||
#include "string.h"
|
#include "string.h"
|
||||||
#include "audio.h"
|
#include "audio.h"
|
||||||
|
|
||||||
|
|
@ -313,4 +315,3 @@ void audiohw_set_monitor(bool enable)
|
||||||
tlv320_write_reg(REG_PC, value_pc);
|
tlv320_write_reg(REG_PC, value_pc);
|
||||||
}
|
}
|
||||||
#endif /* HAVE_RECORDING */
|
#endif /* HAVE_RECORDING */
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,7 @@
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "logf.h"
|
#include "logf.h"
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
|
#include "kernel.h"
|
||||||
#include "audio.h"
|
#include "audio.h"
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
#include "udacodec.h"
|
#include "udacodec.h"
|
||||||
|
|
|
||||||
|
|
@ -20,8 +20,10 @@
|
||||||
* KIND, either express or implied.
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
|
#include "kernel.h"
|
||||||
#include "audiohw.h"
|
#include "audiohw.h"
|
||||||
#include "wmcodec.h"
|
#include "wmcodec.h"
|
||||||
#include "audio.h"
|
#include "audio.h"
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,10 @@
|
||||||
* KIND, either express or implied.
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
|
#include "kernel.h"
|
||||||
#include "button.h"
|
#include "button.h"
|
||||||
#include "as3525v2.h"
|
#include "as3525v2.h"
|
||||||
#ifndef BOOTLOADER
|
#ifndef BOOTLOADER
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
|
#include "kernel.h"
|
||||||
#include "button.h"
|
#include "button.h"
|
||||||
#include "backlight.h"
|
#include "backlight.h"
|
||||||
#include "dbop-as3525.h"
|
#include "dbop-as3525.h"
|
||||||
|
|
@ -122,4 +123,3 @@ int button_read_device(void)
|
||||||
|
|
||||||
return btn;
|
return btn;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,10 +18,12 @@
|
||||||
* KIND, either express or implied.
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
|
#include "system.h"
|
||||||
|
#include "kernel.h"
|
||||||
#include "nand.h"
|
#include "nand.h"
|
||||||
#include "ata-nand-target.h"
|
#include "ata-nand-target.h"
|
||||||
#include "system.h"
|
|
||||||
#include <string.h>
|
|
||||||
#include "led.h"
|
#include "led.h"
|
||||||
#include "panic.h"
|
#include "panic.h"
|
||||||
#include "nand_id.h"
|
#include "nand_id.h"
|
||||||
|
|
|
||||||
|
|
@ -19,8 +19,10 @@
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
#include "adc-target.h"
|
#include "adc-target.h"
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
|
#include "kernel.h"
|
||||||
#include "powermgmt-target.h"
|
#include "powermgmt-target.h"
|
||||||
#include "lradc-imx233.h"
|
#include "lradc-imx233.h"
|
||||||
#include "power-imx233.h"
|
#include "power-imx233.h"
|
||||||
|
|
|
||||||
|
|
@ -18,11 +18,15 @@
|
||||||
* KIND, either express or implied.
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
|
#include "kernel.h"
|
||||||
#include "audioout-imx233.h"
|
#include "audioout-imx233.h"
|
||||||
#include "clkctrl-imx233.h"
|
#include "clkctrl-imx233.h"
|
||||||
#include "rtc-imx233.h"
|
#include "rtc-imx233.h"
|
||||||
#include "pcm_sampr.h"
|
#include "pcm_sampr.h"
|
||||||
#include "string.h"
|
|
||||||
#include "audio-target.h"
|
#include "audio-target.h"
|
||||||
|
|
||||||
#ifndef IMX233_AUDIO_COUPLING_MODE
|
#ifndef IMX233_AUDIO_COUPLING_MODE
|
||||||
|
|
@ -294,4 +298,4 @@ struct imx233_audioout_info_t imx233_audioout_get_info(void)
|
||||||
info.dac = !BF_RD(AUDIOOUT_PWRDN, DAC);
|
info.dac = !BF_RD(AUDIOOUT_PWRDN, DAC);
|
||||||
info.capless = BF_RD(AUDIOOUT_PWRDN, CAPLESS);
|
info.capless = BF_RD(AUDIOOUT_PWRDN, CAPLESS);
|
||||||
return info;
|
return info;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -18,8 +18,12 @@
|
||||||
* KIND, either express or implied.
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
#include "cpu.h"
|
||||||
|
#include "kernel.h"
|
||||||
#include "button-lradc-imx233.h"
|
#include "button-lradc-imx233.h"
|
||||||
#include "stdlib.h"
|
|
||||||
#include "lradc-imx233.h"
|
#include "lradc-imx233.h"
|
||||||
#include "pinctrl-imx233.h"
|
#include "pinctrl-imx233.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,10 +18,12 @@
|
||||||
* KIND, either express or implied.
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <sys/types.h> /* off_t */
|
#include <sys/types.h> /* off_t */
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "cpu.h"
|
#include "cpu.h"
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
|
#include "kernel.h"
|
||||||
#include "backlight-target.h"
|
#include "backlight-target.h"
|
||||||
#include "lcd.h"
|
#include "lcd.h"
|
||||||
#include "lcdif-imx233.h"
|
#include "lcdif-imx233.h"
|
||||||
|
|
@ -346,4 +348,3 @@ void lcd_update_rect(int x, int y, int w, int h)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,8 +18,10 @@
|
||||||
* KIND, either express or implied.
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
|
#include "kernel.h"
|
||||||
#include "dcp-imx233.h"
|
#include "dcp-imx233.h"
|
||||||
#include "string.h"
|
#include "string.h"
|
||||||
#include "kernel-imx233.h"
|
#include "kernel-imx233.h"
|
||||||
|
|
@ -247,4 +249,4 @@ struct imx233_dcp_info_t imx233_dcp_get_info(unsigned flags)
|
||||||
info.csc.enable = HW_DCP_CSCCTRL0 & HW_DCP_CSCCTRL0__ENABLE;
|
info.csc.enable = HW_DCP_CSCCTRL0 & HW_DCP_CSCCTRL0__ENABLE;
|
||||||
}
|
}
|
||||||
return info;
|
return info;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,9 @@
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
#include "cpu.h"
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
|
#include "kernel.h"
|
||||||
#include "dma-imx233.h"
|
#include "dma-imx233.h"
|
||||||
#include "lcd.h"
|
#include "lcd.h"
|
||||||
#include "font.h"
|
#include "font.h"
|
||||||
|
|
|
||||||
|
|
@ -18,8 +18,10 @@
|
||||||
* KIND, either express or implied.
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
|
#include "kernel.h"
|
||||||
#include "dma-imx233.h"
|
#include "dma-imx233.h"
|
||||||
#include "lcd.h"
|
#include "lcd.h"
|
||||||
#include "string.h"
|
#include "string.h"
|
||||||
|
|
@ -287,4 +289,3 @@ struct imx233_dma_info_t imx233_dma_get_info(unsigned chan, unsigned flags)
|
||||||
s.nr_unaligned = apb_nr_unaligned[chan];
|
s.nr_unaligned = apb_nr_unaligned[chan];
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,7 @@
|
||||||
|
|
||||||
#include "system-arm.h"
|
#include "system-arm.h"
|
||||||
#include "mmu-arm.h"
|
#include "mmu-arm.h"
|
||||||
|
#include "kernel.h"
|
||||||
|
|
||||||
/* High enough for most tasks but low enough for reduced voltage */
|
/* High enough for most tasks but low enough for reduced voltage */
|
||||||
#define CPUFREQ_DEFAULT 264000000
|
#define CPUFREQ_DEFAULT 264000000
|
||||||
|
|
|
||||||
|
|
@ -19,11 +19,12 @@
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
#include "system.h"
|
||||||
|
#include "kernel.h"
|
||||||
#include "audiohw.h"
|
#include "audiohw.h"
|
||||||
#include "df1704.h"
|
#include "df1704.h"
|
||||||
#include "pca9555.h"
|
#include "pca9555.h"
|
||||||
#include "i2c-rk27xx.h"
|
#include "i2c-rk27xx.h"
|
||||||
#include "system.h"
|
|
||||||
|
|
||||||
void df1704_set_ml_dir(const int dir)
|
void df1704_set_ml_dir(const int dir)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
|
#include "kernel.h"
|
||||||
#include "i2c-rk27xx.h"
|
#include "i2c-rk27xx.h"
|
||||||
#include "pca9555.h"
|
#include "pca9555.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,9 @@
|
||||||
* KIND, either express or implied.
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
|
#include "kernel.h"
|
||||||
#include "audio.h"
|
#include "audio.h"
|
||||||
#include "string.h"
|
#include "string.h"
|
||||||
#include "panic.h"
|
#include "panic.h"
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "cpu.h"
|
#include "cpu.h"
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
|
#include "kernel.h"
|
||||||
#include "string.h"
|
#include "string.h"
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include "button.h"
|
#include "button.h"
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,9 @@
|
||||||
* KIND, either express or implied.
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
|
#include "kernel.h"
|
||||||
#include "i2c-s3c2440.h"
|
#include "i2c-s3c2440.h"
|
||||||
|
|
||||||
static struct semaphore i2c_complete; /* Transfer completion signal */
|
static struct semaphore i2c_complete; /* Transfer completion signal */
|
||||||
|
|
|
||||||
|
|
@ -19,8 +19,10 @@
|
||||||
* KIND, either express or implied.
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
|
#include "kernel.h"
|
||||||
#include "lcd.h"
|
#include "lcd.h"
|
||||||
#include "lcd-target.h"
|
#include "lcd-target.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,7 @@
|
||||||
|
|
||||||
#include "system-arm.h"
|
#include "system-arm.h"
|
||||||
#include "mmu-arm.h"
|
#include "mmu-arm.h"
|
||||||
|
#include "kernel.h"
|
||||||
|
|
||||||
#define CPUFREQ_SLEEP 32768
|
#define CPUFREQ_SLEEP 32768
|
||||||
#define CPUFREQ_MAX (1843200 * 4 * 26 / 1) /* 191692800 Hz */
|
#define CPUFREQ_MAX (1843200 * 4 * 26 / 1) /* 191692800 Hz */
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,7 @@
|
||||||
|
|
||||||
#include "system-arm.h"
|
#include "system-arm.h"
|
||||||
#include "mmu-arm.h"
|
#include "mmu-arm.h"
|
||||||
|
#include "kernel.h"
|
||||||
|
|
||||||
#define CPUFREQ_SLEEP 32768
|
#define CPUFREQ_SLEEP 32768
|
||||||
#define CPUFREQ_MAX 216000000
|
#define CPUFREQ_MAX 216000000
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,7 @@
|
||||||
|
|
||||||
#include "system-arm.h"
|
#include "system-arm.h"
|
||||||
#include "mmu-arm.h"
|
#include "mmu-arm.h"
|
||||||
|
#include "kernel.h" /* TIME_BEFORE */
|
||||||
|
|
||||||
#define CPUFREQ_DEFAULT 32000000
|
#define CPUFREQ_DEFAULT 32000000
|
||||||
#define CPUFREQ_NORMAL 48000000
|
#define CPUFREQ_NORMAL 48000000
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,7 @@
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "cpu.h"
|
#include "cpu.h"
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
|
#include "kernel.h"
|
||||||
#include "string.h"
|
#include "string.h"
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include "button.h"
|
#include "button.h"
|
||||||
|
|
|
||||||
|
|
@ -21,8 +21,9 @@
|
||||||
* KIND, either express or implied.
|
* KIND, either express or implied.
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
#include "thread.h"
|
#include "kernel.h"
|
||||||
#include "i2c-dm320.h"
|
#include "i2c-dm320.h"
|
||||||
|
|
||||||
#ifdef HAVE_SOFTWARE_I2C
|
#ifdef HAVE_SOFTWARE_I2C
|
||||||
|
|
|
||||||
|
|
@ -19,9 +19,11 @@
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
#include <stdbool.h>
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
#include <stdbool.h>
|
#include "kernel.h"
|
||||||
#include "font.h"
|
#include "font.h"
|
||||||
#include "lcd.h"
|
#include "lcd.h"
|
||||||
#include "button.h"
|
#include "button.h"
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
|
#include "kernel.h"
|
||||||
#include "file.h"
|
#include "file.h"
|
||||||
#include "lcd-remote.h"
|
#include "lcd-remote.h"
|
||||||
#include "adc.h"
|
#include "adc.h"
|
||||||
|
|
|
||||||
|
|
@ -20,10 +20,11 @@
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "hwcompat.h"
|
#include "config.h"
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
|
#include "kernel.h"
|
||||||
|
#include "hwcompat.h"
|
||||||
#include "lcd.h"
|
#include "lcd.h"
|
||||||
#include "lcd-charcell.h"
|
#include "lcd-charcell.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,10 +19,12 @@
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#include "system.h"
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
|
#include "system.h"
|
||||||
|
#include "kernel.h"
|
||||||
#include "font.h"
|
#include "font.h"
|
||||||
#include "lcd.h"
|
#include "lcd.h"
|
||||||
#include "button.h"
|
#include "button.h"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue