From f9dac40cf311ef130da190cc71de9148551c9cdc Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Tue, 31 Jan 2006 01:50:07 +0000 Subject: iPod: Fix the detection of lcd type for the iPod Photo - this should fix problems with that LCD. Affected users also need to install a new bootloader - available from the iPod Installation wiki page. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8499 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/lcd-ipod.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'firmware/drivers/lcd-ipod.c') diff --git a/firmware/drivers/lcd-ipod.c b/firmware/drivers/lcd-ipod.c index 5178b1b9b2..0ff22ab9b5 100644 --- a/firmware/drivers/lcd-ipod.c +++ b/firmware/drivers/lcd-ipod.c @@ -30,8 +30,6 @@ #include "system.h" /*** definitions ***/ -#define IPOD_HW_REVISION (*((volatile unsigned long*)0x00002084)) - #define IPOD_LCD_BASE 0x70008a0c #define IPOD_LCD_BUSY_MASK 0x80000000 @@ -129,7 +127,7 @@ void lcd_roll(int lines) void lcd_init_device(void) { #if CONFIG_LCD == LCD_IPODCOLOR - if (IPOD_HW_REVISION == 0x60000) { + if (ipod_hw_rev == 0x60000) { lcd_type = 0; } else { int gpio_a01, gpio_a04; -- cgit v1.2.3