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/export/i2c-s5l8702.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'firmware/export/i2c-s5l8702.h') diff --git a/firmware/export/i2c-s5l8702.h b/firmware/export/i2c-s5l8702.h index aef0e536bf..f671e4059e 100644 --- a/firmware/export/i2c-s5l8702.h +++ b/firmware/export/i2c-s5l8702.h @@ -28,10 +28,8 @@ void i2c_init(void); int i2c_write(int bus, unsigned char slave, int address, int len, const unsigned char *data); int i2c_read(int bus, unsigned char slave, int address, int len, unsigned char *data); -#ifdef BOOTLOADER void i2c_preinit(int bus); int i2c_wr(int bus, unsigned char slave, int address, int len, const unsigned char *data); int i2c_rd(int bus, unsigned char slave, int address, int len, unsigned char *data); -#endif #endif /* _I2C_S5l8702_H */ -- cgit v1.2.3