diff options
author | Dave Chapman <dave@dchapman.com> | 2006-01-30 23:25:57 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2006-01-30 23:25:57 +0000 |
commit | d3784e5d082e114243d846685b50f31886ed5b7c (patch) | |
tree | 72910384a52588719f742f23f4eaa0e126eef051 /firmware/drivers/lcd-ipod.c | |
parent | 3b8934d6d107aaa1b3fc6321bb1d13a9aeedd82a (diff) | |
download | rockbox-d3784e5d082e114243d846685b50f31886ed5b7c.tar.gz rockbox-d3784e5d082e114243d846685b50f31886ed5b7c.zip |
iPod: Remove some iPod Photo lcd initialisation code that (when used in the bootloader) corrupted the colors in the original firmware.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8497 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/lcd-ipod.c')
-rw-r--r-- | firmware/drivers/lcd-ipod.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/firmware/drivers/lcd-ipod.c b/firmware/drivers/lcd-ipod.c index 9aa7d01adb..5178b1b9b2 100644 --- a/firmware/drivers/lcd-ipod.c +++ b/firmware/drivers/lcd-ipod.c | |||
@@ -153,16 +153,6 @@ void lcd_init_device(void) | |||
153 | 153 | ||
154 | outl(inl(0x6000600c) | 0x20000, 0x6000600c); /* PWM enable */ | 154 | outl(inl(0x6000600c) | 0x20000, 0x6000600c); /* PWM enable */ |
155 | 155 | ||
156 | if (lcd_type == 0) { | ||
157 | lcd_cmd_data(0xef, 0x0); | ||
158 | lcd_cmd_data(0x1, 0x0); | ||
159 | lcd_cmd_data(0x80, 0x1); | ||
160 | lcd_cmd_data(0x10, 0x8); | ||
161 | lcd_cmd_data(0x18, 0x6); | ||
162 | lcd_cmd_data(0x7e, 0x4); | ||
163 | lcd_cmd_data(0x7e, 0x5); | ||
164 | lcd_cmd_data(0x7f, 0x1); | ||
165 | } | ||
166 | #elif CONFIG_LCD == LCD_IPODNANO | 156 | #elif CONFIG_LCD == LCD_IPODNANO |
167 | /* iPodLinux doesn't appear have any LCD init code for the Nano */ | 157 | /* iPodLinux doesn't appear have any LCD init code for the Nano */ |
168 | #endif | 158 | #endif |