summaryrefslogtreecommitdiff
path: root/firmware/target/arm/ipod/lcd-gray.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/ipod/lcd-gray.c')
-rw-r--r--firmware/target/arm/ipod/lcd-gray.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/arm/ipod/lcd-gray.c b/firmware/target/arm/ipod/lcd-gray.c
index 620c4355c3..1493751c3b 100644
--- a/firmware/target/arm/ipod/lcd-gray.c
+++ b/firmware/target/arm/ipod/lcd-gray.c
@@ -133,12 +133,12 @@ void lcd_init_device(void)
133 lcd_cmd_and_data(R_ENTRY_MODE, 0x0000); 133 lcd_cmd_and_data(R_ENTRY_MODE, 0x0000);
134 134
135#ifdef IPOD_4G 135#ifdef IPOD_4G
136 outl(inl(0x6000d004) | 0x4, 0x6000d004); /* B02 enable */ 136 GPIOB_ENABLE |= 0x4; /* B02 enable */
137 outl(inl(0x6000d004) | 0x8, 0x6000d004); /* B03 enable */ 137 GPIOB_ENABLE |= 0x8; /* B03 enable */
138 outl(inl(0x70000084) | 0x2000000, 0x70000084); /* D01 enable */ 138 outl(inl(0x70000084) | 0x2000000, 0x70000084); /* D01 enable */
139 outl(inl(0x70000080) | 0x2000000, 0x70000080); /* D01 =1 */ 139 outl(inl(0x70000080) | 0x2000000, 0x70000080); /* D01 =1 */
140 140
141 outl(inl(0x6000600c) | 0x20000, 0x6000600c); /* PWM enable */ 141 DEV_EN |= 0x20000; /* PWM enable */
142#endif 142#endif
143} 143}
144 144