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
This commit is contained in:
Dave Chapman 2006-01-31 01:50:07 +00:00
parent ea72d05ec6
commit f9dac40cf3
4 changed files with 15 additions and 3 deletions

View file

@ -44,6 +44,10 @@
#define IPOD_HW_REVISION (*((volatile unsigned long*)(0x00002084)))
/* We copy the hardware revision to the last four bytes of SDRAM and then
re-read it after we have re-mapped SDRAM to 0x0 in Rockbox */
#define TMP_IPOD_HW_REVISION (*((volatile unsigned long*)(0x11fffffc)))
#define BUTTON_LEFT 1
#define BUTTON_MENU 2
#define BUTTON_RIGHT 3
@ -335,6 +339,8 @@ void* main(void)
#endif
TMP_IPOD_HW_REVISION = IPOD_HW_REVISION;
system_init();
kernel_init();
lcd_init();