summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2006-01-30 23:25:57 +0000
committerDave Chapman <dave@dchapman.com>2006-01-30 23:25:57 +0000
commitd3784e5d082e114243d846685b50f31886ed5b7c (patch)
tree72910384a52588719f742f23f4eaa0e126eef051
parent3b8934d6d107aaa1b3fc6321bb1d13a9aeedd82a (diff)
downloadrockbox-d3784e5d082e114243d846685b50f31886ed5b7c.zip
rockbox-d3784e5d082e114243d846685b50f31886ed5b7c.tar.gz
rockbox-d3784e5d082e114243d846685b50f31886ed5b7c.tar.bz2
rockbox-d3784e5d082e114243d846685b50f31886ed5b7c.tar.xz
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
-rw-r--r--firmware/drivers/lcd-ipod.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/firmware/drivers/lcd-ipod.c b/firmware/drivers/lcd-ipod.c
index 9aa7d01..5178b1b 100644
--- a/firmware/drivers/lcd-ipod.c
+++ b/firmware/drivers/lcd-ipod.c
@@ -153,16 +153,6 @@ void lcd_init_device(void)
outl(inl(0x6000600c) | 0x20000, 0x6000600c); /* PWM enable */
- if (lcd_type == 0) {
- lcd_cmd_data(0xef, 0x0);
- lcd_cmd_data(0x1, 0x0);
- lcd_cmd_data(0x80, 0x1);
- lcd_cmd_data(0x10, 0x8);
- lcd_cmd_data(0x18, 0x6);
- lcd_cmd_data(0x7e, 0x4);
- lcd_cmd_data(0x7e, 0x5);
- lcd_cmd_data(0x7f, 0x1);
- }
#elif CONFIG_LCD == LCD_IPODNANO
/* iPodLinux doesn't appear have any LCD init code for the Nano */
#endif