summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/system-pp5002.c
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2007-07-25 13:12:38 +0000
committerDave Chapman <dave@dchapman.com>2007-07-25 13:12:38 +0000
commitebc076bc15d6501674b9db772557a0eadfb4a5e2 (patch)
treea49e4460708d78c76ea25669afded36c3c631f04 /firmware/target/arm/system-pp5002.c
parented095235d44a9427e76f05f9f6d35325ddf1d4d9 (diff)
downloadrockbox-ebc076bc15d6501674b9db772557a0eadfb4a5e2.tar.gz
rockbox-ebc076bc15d6501674b9db772557a0eadfb4a5e2.zip
Remove the hack which read the ipod hardware revision from flash in the bootloader and passed it to Rockbox via a fixed address in SDRAM. Rockbox now remaps flash and so can just read the value itself. Also clean up the debug menu a little - only display the hw revision for ipods, and add the lcd_type variable to indicate the type of LCD (0 or 1) for ipod Color/Photo.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13986 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/system-pp5002.c')
-rw-r--r--firmware/target/arm/system-pp5002.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/firmware/target/arm/system-pp5002.c b/firmware/target/arm/system-pp5002.c
index 25e1f700eb..8ed6592694 100644
--- a/firmware/target/arm/system-pp5002.c
+++ b/firmware/target/arm/system-pp5002.c
@@ -18,7 +18,6 @@
****************************************************************************/
#include "system.h"
-unsigned int ipod_hw_rev;
#ifndef BOOTLOADER
extern void TIMER1(void);
extern void TIMER2(void);
@@ -149,7 +148,6 @@ void system_init(void)
MMAP3_LOGICAL = 0x20000000 | 0x3a00;
MMAP3_PHYSICAL = 0x00000000 | 0x3f84;
- ipod_hw_rev = (*((volatile unsigned long*)(0x01fffffc)));
outl(-1, 0xcf00101c);
outl(-1, 0xcf001028);
outl(-1, 0xcf001038);