summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers')
-rw-r--r--firmware/drivers/lcd-ipod.c4
1 files changed, 1 insertions, 3 deletions
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 @@
30#include "system.h" 30#include "system.h"
31 31
32/*** definitions ***/ 32/*** definitions ***/
33#define IPOD_HW_REVISION (*((volatile unsigned long*)0x00002084))
34
35#define IPOD_LCD_BASE 0x70008a0c 33#define IPOD_LCD_BASE 0x70008a0c
36#define IPOD_LCD_BUSY_MASK 0x80000000 34#define IPOD_LCD_BUSY_MASK 0x80000000
37 35
@@ -129,7 +127,7 @@ void lcd_roll(int lines)
129void lcd_init_device(void) 127void lcd_init_device(void)
130{ 128{
131#if CONFIG_LCD == LCD_IPODCOLOR 129#if CONFIG_LCD == LCD_IPODCOLOR
132 if (IPOD_HW_REVISION == 0x60000) { 130 if (ipod_hw_rev == 0x60000) {
133 lcd_type = 0; 131 lcd_type = 0;
134 } else { 132 } else {
135 int gpio_a01, gpio_a04; 133 int gpio_a01, gpio_a04;