From 3f17745930ab0bee11555ab35318121dbec8fab1 Mon Sep 17 00:00:00 2001 From: Cástor Muñoz Date: Sun, 22 May 2016 00:43:18 +0200 Subject: iPod Classic: HW initialization for RB Do not rely on a bootloader initializing the HW, RB initializes and configures GPIO, I2C, and PMU at startup. Change-Id: If7f856b1f345f63de584aa4e4fc22d130cd66c80 --- firmware/target/arm/s5l8702/ipod6g/pmu-target.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/target/arm/s5l8702/ipod6g/pmu-target.h') diff --git a/firmware/target/arm/s5l8702/ipod6g/pmu-target.h b/firmware/target/arm/s5l8702/ipod6g/pmu-target.h index e4bef6f47c..d090f72a67 100644 --- a/firmware/target/arm/s5l8702/ipod6g/pmu-target.h +++ b/firmware/target/arm/s5l8702/ipod6g/pmu-target.h @@ -77,12 +77,12 @@ void pmu_read_rtc(unsigned char* buffer); void pmu_write_rtc(unsigned char* buffer); void pmu_hdd_power(bool on); +void pmu_preinit(void); #ifdef BOOTLOADER unsigned char pmu_rd(int address); int pmu_wr(int address, unsigned char val); int pmu_rd_multiple(int address, int count, unsigned char* buffer); int pmu_wr_multiple(int address, int count, unsigned char* buffer); -void pmu_preinit(void); #endif #endif /* __PMU_TARGET_H__ */ -- cgit v1.2.3