diff options
Diffstat (limited to 'firmware/target/arm/s5l8702/ipod6g/pmu-target.h')
-rw-r--r-- | firmware/target/arm/s5l8702/ipod6g/pmu-target.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/firmware/target/arm/s5l8702/ipod6g/pmu-target.h b/firmware/target/arm/s5l8702/ipod6g/pmu-target.h index 94fd17010b..3a90ad8789 100644 --- a/firmware/target/arm/s5l8702/ipod6g/pmu-target.h +++ b/firmware/target/arm/s5l8702/ipod6g/pmu-target.h | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <stdbool.h> | 25 | #include <stdbool.h> |
26 | #include "config.h" | 26 | #include "config.h" |
27 | 27 | ||
28 | #include <pcf5063x.h> | 28 | #include "pcf5063x.h" |
29 | 29 | ||
30 | /* undocummented PMU registers */ | 30 | /* undocummented PMU registers */ |
31 | #define PCF50635_REG_INT6 0x85 | 31 | #define PCF50635_REG_INT6 0x85 |
@@ -77,4 +77,11 @@ void pmu_read_rtc(unsigned char* buffer); | |||
77 | void pmu_write_rtc(unsigned char* buffer); | 77 | void pmu_write_rtc(unsigned char* buffer); |
78 | void pmu_hdd_power(bool on); | 78 | void pmu_hdd_power(bool on); |
79 | 79 | ||
80 | #ifdef BOOTLOADER | ||
81 | unsigned char pmu_rd(int address); | ||
82 | int pmu_wr(int address, unsigned char val); | ||
83 | int pmu_rd_multiple(int address, int count, unsigned char* buffer); | ||
84 | int pmu_wr_multiple(int address, int count, unsigned char* buffer); | ||
80 | #endif | 85 | #endif |
86 | |||
87 | #endif /* __PMU_TARGET_H__ */ | ||