diff options
Diffstat (limited to 'firmware/drivers/i2c-pp5020.c')
-rw-r--r-- | firmware/drivers/i2c-pp5020.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/firmware/drivers/i2c-pp5020.c b/firmware/drivers/i2c-pp5020.c index fccaffc571..9f26d3be6e 100644 --- a/firmware/drivers/i2c-pp5020.c +++ b/firmware/drivers/i2c-pp5020.c | |||
@@ -161,6 +161,14 @@ void i2c_init(void) | |||
161 | { | 161 | { |
162 | /* From ipodlinux */ | 162 | /* From ipodlinux */ |
163 | 163 | ||
164 | #if defined(APPLE_IPODMINI) | ||
165 | /* GPIO port C disable port 0x10 */ | ||
166 | GPIOC_ENABLE &= ~0x10; | ||
167 | |||
168 | /* GPIO port C disable port 0x20 */ | ||
169 | GPIOC_ENABLE &= ~0x20; | ||
170 | #endif | ||
171 | |||
164 | outl(inl(0x6000600c) | 0x1000, 0x6000600c); /* enable 12 */ | 172 | outl(inl(0x6000600c) | 0x1000, 0x6000600c); /* enable 12 */ |
165 | outl(inl(0x60006004) | 0x1000, 0x60006004); /* start reset 12 */ | 173 | outl(inl(0x60006004) | 0x1000, 0x60006004); /* start reset 12 */ |
166 | outl(inl(0x60006004) & ~0x1000, 0x60006004); /* end reset 12 */ | 174 | outl(inl(0x60006004) & ~0x1000, 0x60006004); /* end reset 12 */ |