summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/arm/ata-pp5002.c1
-rw-r--r--firmware/target/arm/ata-pp5020.c1
-rw-r--r--firmware/target/arm/ata-target.h1
-rw-r--r--firmware/target/arm/i2c-pp.c1
-rw-r--r--firmware/target/arm/imx31/gigabeat-s/button-target.h1
-rw-r--r--firmware/target/arm/imx31/gigabeat-s/usb-target.h2
-rw-r--r--firmware/target/arm/s3c2440/gigabeat-fx/usb-target.h1
-rw-r--r--firmware/target/arm/system-pp502x.c2
-rw-r--r--firmware/target/arm/system-target.h4
-rw-r--r--firmware/target/mips/ingenic_jz47xx/system-target.h2
10 files changed, 3 insertions, 13 deletions
diff --git a/firmware/target/arm/ata-pp5002.c b/firmware/target/arm/ata-pp5002.c
index 0f4d955c63..2c4bb3b3bc 100644
--- a/firmware/target/arm/ata-pp5002.c
+++ b/firmware/target/arm/ata-pp5002.c
@@ -23,6 +23,7 @@
23 23
24#include <stdbool.h> 24#include <stdbool.h>
25#include "system.h" 25#include "system.h"
26#include "ata.h"
26#include "ata-target.h" 27#include "ata-target.h"
27 28
28void ata_reset() 29void ata_reset()
diff --git a/firmware/target/arm/ata-pp5020.c b/firmware/target/arm/ata-pp5020.c
index 1f066900df..ee770b4c5b 100644
--- a/firmware/target/arm/ata-pp5020.c
+++ b/firmware/target/arm/ata-pp5020.c
@@ -23,6 +23,7 @@
23 23
24#include <stdbool.h> 24#include <stdbool.h>
25#include "system.h" 25#include "system.h"
26#include "ata.h"
26#include "ata-target.h" 27#include "ata-target.h"
27 28
28void ata_reset() 29void ata_reset()
diff --git a/firmware/target/arm/ata-target.h b/firmware/target/arm/ata-target.h
index c03d527372..0881aaef35 100644
--- a/firmware/target/arm/ata-target.h
+++ b/firmware/target/arm/ata-target.h
@@ -79,6 +79,5 @@ void copy_write_sectors(const unsigned char* buf, int wordcount);
79#endif 79#endif
80 80
81void ata_reset(void); 81void ata_reset(void);
82void ata_enable(bool on);
83bool ata_is_coldstart(void); 82bool ata_is_coldstart(void);
84void ata_device_init(void); 83void ata_device_init(void);
diff --git a/firmware/target/arm/i2c-pp.c b/firmware/target/arm/i2c-pp.c
index 44713407df..fef2082e60 100644
--- a/firmware/target/arm/i2c-pp.c
+++ b/firmware/target/arm/i2c-pp.c
@@ -31,6 +31,7 @@
31#include "thread.h" 31#include "thread.h"
32#include "logf.h" 32#include "logf.h"
33#include "system.h" 33#include "system.h"
34#include "i2c.h"
34#include "i2c-pp.h" 35#include "i2c-pp.h"
35#include "ascodec.h" 36#include "ascodec.h"
36#include "as3514.h" 37#include "as3514.h"
diff --git a/firmware/target/arm/imx31/gigabeat-s/button-target.h b/firmware/target/arm/imx31/gigabeat-s/button-target.h
index d970e9983c..940ebac2f2 100644
--- a/firmware/target/arm/imx31/gigabeat-s/button-target.h
+++ b/firmware/target/arm/imx31/gigabeat-s/button-target.h
@@ -36,7 +36,6 @@ void button_close_device(void);
36int button_read_device(void); 36int button_read_device(void);
37void button_power_event(void); 37void button_power_event(void);
38void headphone_detect_event(void); 38void headphone_detect_event(void);
39bool headphones_inserted(void);
40void headphone_init(void); 39void headphone_init(void);
41void button_headphone_set(int button); 40void button_headphone_set(int button);
42 41
diff --git a/firmware/target/arm/imx31/gigabeat-s/usb-target.h b/firmware/target/arm/imx31/gigabeat-s/usb-target.h
index 1f96a9a7eb..c93400ca0b 100644
--- a/firmware/target/arm/imx31/gigabeat-s/usb-target.h
+++ b/firmware/target/arm/imx31/gigabeat-s/usb-target.h
@@ -27,9 +27,7 @@
27 27
28void usb_connect_event(void); 28void usb_connect_event(void);
29void usb_init_device(void); 29void usb_init_device(void);
30int usb_detect(void);
31/* Read the immediate state of the cable from the PMIC */ 30/* Read the immediate state of the cable from the PMIC */
32bool usb_plugged(void); 31bool usb_plugged(void);
33void usb_enable(bool on);
34 32
35#endif /* USB_TARGET */ 33#endif /* USB_TARGET */
diff --git a/firmware/target/arm/s3c2440/gigabeat-fx/usb-target.h b/firmware/target/arm/s3c2440/gigabeat-fx/usb-target.h
index 637d63b955..aba5f55a46 100644
--- a/firmware/target/arm/s3c2440/gigabeat-fx/usb-target.h
+++ b/firmware/target/arm/s3c2440/gigabeat-fx/usb-target.h
@@ -22,6 +22,5 @@
22#define USB_TARGET_H 22#define USB_TARGET_H
23 23
24void usb_init_device(void); 24void usb_init_device(void);
25void usb_enable(bool on);
26 25
27#endif 26#endif
diff --git a/firmware/target/arm/system-pp502x.c b/firmware/target/arm/system-pp502x.c
index 7a320055b0..b4952d6cf2 100644
--- a/firmware/target/arm/system-pp502x.c
+++ b/firmware/target/arm/system-pp502x.c
@@ -32,8 +32,6 @@
32extern void TIMER1(void); 32extern void TIMER1(void);
33extern void TIMER2(void); 33extern void TIMER2(void);
34extern void SERIAL0(void); 34extern void SERIAL0(void);
35extern void ipod_mini_button_int(void); /* iPod Mini 1st gen only */
36extern void ipod_4g_button_int(void); /* iPod 4th gen and higher only */
37 35
38#if defined(HAVE_ADJUSTABLE_CPU_FREQ) && (NUM_CORES > 1) 36#if defined(HAVE_ADJUSTABLE_CPU_FREQ) && (NUM_CORES > 1)
39static struct corelock cpufreq_cl SHAREDBSS_ATTR; 37static struct corelock cpufreq_cl SHAREDBSS_ATTR;
diff --git a/firmware/target/arm/system-target.h b/firmware/target/arm/system-target.h
index 60844e0b5f..764cd18d15 100644
--- a/firmware/target/arm/system-target.h
+++ b/firmware/target/arm/system-target.h
@@ -48,10 +48,6 @@
48#define inw(a) (*(volatile unsigned short *) (a)) 48#define inw(a) (*(volatile unsigned short *) (a))
49#define outw(a,b) (*(volatile unsigned short *) (b) = (a)) 49#define outw(a,b) (*(volatile unsigned short *) (b) = (a))
50 50
51#if defined(HAVE_ADJUSTABLE_CPU_FREQ) && NUM_CORES > 1
52extern struct spinlock boostctrl_spin;
53#endif
54
55static inline void udelay(unsigned usecs) 51static inline void udelay(unsigned usecs)
56{ 52{
57 unsigned stop = USEC_TIMER + usecs; 53 unsigned stop = USEC_TIMER + usecs;
diff --git a/firmware/target/mips/ingenic_jz47xx/system-target.h b/firmware/target/mips/ingenic_jz47xx/system-target.h
index df9b103309..08c3aeddb6 100644
--- a/firmware/target/mips/ingenic_jz47xx/system-target.h
+++ b/firmware/target/mips/ingenic_jz47xx/system-target.h
@@ -83,8 +83,6 @@ static inline void restore_interrupt(int status)
83void system_enable_irq(unsigned int irq); 83void system_enable_irq(unsigned int irq);
84void udelay(unsigned int usec); 84void udelay(unsigned int usec);
85void mdelay(unsigned int msec); 85void mdelay(unsigned int msec);
86void power_off(void);
87void system_reboot(void);
88void dma_enable(void); 86void dma_enable(void);
89void dma_disable(void); 87void dma_disable(void);
90 88