summaryrefslogtreecommitdiff
path: root/firmware/target/arm/ipod/lcd-gray.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-11-18 14:01:58 +0000
committerJens Arnold <amiconn@rockbox.org>2007-11-18 14:01:58 +0000
commit940fe31f8102e8723856471896e463d090354aaf (patch)
tree16cf30c9123de00a83334506bb8ff77a4cce91a7 /firmware/target/arm/ipod/lcd-gray.c
parenteafa27f2e89ba814eff7a631cce020f39ac81df4 (diff)
downloadrockbox-940fe31f8102e8723856471896e463d090354aaf.tar.gz
rockbox-940fe31f8102e8723856471896e463d090354aaf.zip
Move 4th Gen (grayscale and color) backlight init where it belongs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15661 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/ipod/lcd-gray.c')
-rw-r--r--firmware/target/arm/ipod/lcd-gray.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/firmware/target/arm/ipod/lcd-gray.c b/firmware/target/arm/ipod/lcd-gray.c
index bbe7703a03..65fa2a779e 100644
--- a/firmware/target/arm/ipod/lcd-gray.c
+++ b/firmware/target/arm/ipod/lcd-gray.c
@@ -172,15 +172,6 @@ void lcd_init_device(void)
172#endif 172#endif
173 lcd_set_flip(false); 173 lcd_set_flip(false);
174 lcd_cmd_and_data(R_ENTRY_MODE, 0x0000); 174 lcd_cmd_and_data(R_ENTRY_MODE, 0x0000);
175
176#ifdef IPOD_4G
177 GPIOB_ENABLE |= 0x4; /* B02 enable */
178 GPIOB_ENABLE |= 0x8; /* B03 enable */
179 GPO32_ENABLE |= 0x2000000; /* D01 enable */
180 GPO32_VAL |= 0x2000000; /* D01 =1 */
181
182 DEV_EN |= 0x20000; /* PWM enable */
183#endif
184} 175}
185 176
186/*** hardware configuration ***/ 177/*** hardware configuration ***/