diff options
author | Dave Chapman <dave@dchapman.com> | 2006-01-31 01:50:07 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2006-01-31 01:50:07 +0000 |
commit | f9dac40cf311ef130da190cc71de9148551c9cdc (patch) | |
tree | 569f8330060b2f72fa4072ef262ba6dcd00c47b0 /firmware/export | |
parent | ea72d05ec6426b65d52fcbcfbbb008351830583f (diff) | |
download | rockbox-f9dac40cf311ef130da190cc71de9148551c9cdc.tar.gz rockbox-f9dac40cf311ef130da190cc71de9148551c9cdc.zip |
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
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/system.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/export/system.h b/firmware/export/system.h index 0434425ffd..b5f4bbf2db 100644 --- a/firmware/export/system.h +++ b/firmware/export/system.h | |||
@@ -36,6 +36,8 @@ extern long cpu_frequency; | |||
36 | #define outb(a,b) (*(volatile unsigned char *) (b) = (a)) | 36 | #define outb(a,b) (*(volatile unsigned char *) (b) = (a)) |
37 | #define inw(a) (*(volatile unsigned short *) (a)) | 37 | #define inw(a) (*(volatile unsigned short *) (a)) |
38 | #define outw(a,b) (*(volatile unsigned short *) (b) = (a)) | 38 | #define outw(a,b) (*(volatile unsigned short *) (b) = (a)) |
39 | extern unsigned int ipod_hw_rev; | ||
40 | |||
39 | static inline void udelay(unsigned usecs) | 41 | static inline void udelay(unsigned usecs) |
40 | { | 42 | { |
41 | unsigned start = inl(0x60005010); | 43 | unsigned start = inl(0x60005010); |