diff options
Diffstat (limited to 'firmware/target/coldfire')
-rw-r--r-- | firmware/target/coldfire/ata-target.h | 1 | ||||
-rw-r--r-- | firmware/target/coldfire/iaudio/m3/ata-m3.c | 1 | ||||
-rw-r--r-- | firmware/target/coldfire/iaudio/m3/button-m3.c | 1 | ||||
-rw-r--r-- | firmware/target/coldfire/iaudio/m3/fmradio_i2c-m3.c | 1 | ||||
-rw-r--r-- | firmware/target/coldfire/iaudio/m3/lcd-m3.c | 1 | ||||
-rw-r--r-- | firmware/target/coldfire/iaudio/m3/usb-m3.c | 1 | ||||
-rw-r--r-- | firmware/target/coldfire/pcm-coldfire.c | 4 | ||||
-rw-r--r-- | firmware/target/coldfire/usb-target.h | 2 |
8 files changed, 9 insertions, 3 deletions
diff --git a/firmware/target/coldfire/ata-target.h b/firmware/target/coldfire/ata-target.h index e246dc7af1..d7dc80cf37 100644 --- a/firmware/target/coldfire/ata-target.h +++ b/firmware/target/coldfire/ata-target.h @@ -62,6 +62,7 @@ #define SET_16BITREG(reg,val) reg = (val) void ata_reset(void); +void ata_enable(bool on); void ata_device_init(void); bool ata_is_coldstart(void); diff --git a/firmware/target/coldfire/iaudio/m3/ata-m3.c b/firmware/target/coldfire/iaudio/m3/ata-m3.c index 3a0a28b618..c71510d833 100644 --- a/firmware/target/coldfire/iaudio/m3/ata-m3.c +++ b/firmware/target/coldfire/iaudio/m3/ata-m3.c @@ -23,6 +23,7 @@ #include "kernel.h" #include "system.h" #include "power.h" +#include "ata-target.h" void ata_reset(void) { diff --git a/firmware/target/coldfire/iaudio/m3/button-m3.c b/firmware/target/coldfire/iaudio/m3/button-m3.c index ecea221a4c..5de2779c37 100644 --- a/firmware/target/coldfire/iaudio/m3/button-m3.c +++ b/firmware/target/coldfire/iaudio/m3/button-m3.c @@ -22,6 +22,7 @@ #include "button.h" #include "backlight.h" #include "adc.h" +#include "lcd-remote-target.h" static bool hold_button = false; static bool remote_hold_button = false; diff --git a/firmware/target/coldfire/iaudio/m3/fmradio_i2c-m3.c b/firmware/target/coldfire/iaudio/m3/fmradio_i2c-m3.c index dcd945d813..620f1030ea 100644 --- a/firmware/target/coldfire/iaudio/m3/fmradio_i2c-m3.c +++ b/firmware/target/coldfire/iaudio/m3/fmradio_i2c-m3.c @@ -22,6 +22,7 @@ #if (CONFIG_TUNER & TEA5767) #include "i2c-coldfire.h" +#include "fmradio_i2c.h" int fmradio_i2c_write(unsigned char address, const unsigned char* buf, int count) diff --git a/firmware/target/coldfire/iaudio/m3/lcd-m3.c b/firmware/target/coldfire/iaudio/m3/lcd-m3.c index 81f19bd73f..9bb72b087a 100644 --- a/firmware/target/coldfire/iaudio/m3/lcd-m3.c +++ b/firmware/target/coldfire/iaudio/m3/lcd-m3.c @@ -22,6 +22,7 @@ #include "file.h" #include "lcd.h" #include "scroll_engine.h" +#include "lcd-remote-target.h" /* The LCD in the iAudio M3/M5/X5 remote control is a Tomato LSI 0350 */ diff --git a/firmware/target/coldfire/iaudio/m3/usb-m3.c b/firmware/target/coldfire/iaudio/m3/usb-m3.c index f37c69574c..6f6718af24 100644 --- a/firmware/target/coldfire/iaudio/m3/usb-m3.c +++ b/firmware/target/coldfire/iaudio/m3/usb-m3.c @@ -22,6 +22,7 @@ #include "cpu.h" #include "system.h" #include "usb.h" +#include "usb-target.h" void usb_init_device(void) { diff --git a/firmware/target/coldfire/pcm-coldfire.c b/firmware/target/coldfire/pcm-coldfire.c index 2614946543..fbab046b70 100644 --- a/firmware/target/coldfire/pcm-coldfire.c +++ b/firmware/target/coldfire/pcm-coldfire.c @@ -119,7 +119,7 @@ void pcm_set_frequency(unsigned int frequency) } /* pcm_set_frequency */ /* apply audio settings */ -bool _pcm_apply_settings(bool clear_reset) +static bool _pcm_apply_settings(bool clear_reset) { bool did_reset = false; unsigned long iis_play_defparm = IIS_PLAY_DEFPARM; @@ -154,7 +154,7 @@ bool _pcm_apply_settings(bool clear_reset) } /* _pcm_apply_settings */ /* apply audio setting with all DMA interrupts disabled */ -void _pcm_apply_settings_irq_lock(bool clear_reset) +static void _pcm_apply_settings_irq_lock(bool clear_reset) { int level = set_irq_level(DMA_IRQ_LEVEL); _pcm_apply_settings(clear_reset); diff --git a/firmware/target/coldfire/usb-target.h b/firmware/target/coldfire/usb-target.h index ab8cac6f99..8908dc69e8 100644 --- a/firmware/target/coldfire/usb-target.h +++ b/firmware/target/coldfire/usb-target.h @@ -19,6 +19,6 @@ #ifndef USB_TARGET_H #define USB_TARGET_H -bool usb_init_device(void); +void usb_init_device(void); #endif |