diff options
author | Jens Arnold <amiconn@rockbox.org> | 2008-03-25 19:57:23 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2008-03-25 19:57:23 +0000 |
commit | 1f4bcc86dac8e57aa2fba4e5b3149fbe52ead323 (patch) | |
tree | a3862957ba38ea22bfd01504c0389d23cb4b09a9 /bootloader | |
parent | 386f77b0521433f55811f5735aa7a7df5c422760 (diff) |
Revert accidental tree commit. /me needs a smaller enter key...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16805 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader')
-rw-r--r-- | bootloader/ipod.c | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/bootloader/ipod.c b/bootloader/ipod.c index bafcb4909d..b3ff7bcedb 100644 --- a/bootloader/ipod.c +++ b/bootloader/ipod.c @@ -56,49 +56,6 @@ unsigned char *loadbuffer = (unsigned char *)DRAM_START; /* Bootloader version */ char version[] = APPSVERSION; -struct sysinfo -{ - unsigned IsyS; /* == "IsyS" */ - unsigned len; - char BoardHwName[16]; - char pszSerialNumber[32]; - char pu8FirewireGuid[16]; - unsigned boardHwRev; - unsigned bootLoaderImageRev; - unsigned diskModeImageRev; - unsigned diagImageRev; - unsigned osImageRev; - unsigned iram_perhaps; - unsigned Flsh; - unsigned flash_zero; - unsigned flash_base; - unsigned flash_size; - unsigned flash_zero2; - unsigned Sdrm; - unsigned sdram_zero; - unsigned sdram_base; - unsigned sdram_size; - unsigned sdram_zero2; - unsigned Frwr; - unsigned frwr_zero; - unsigned frwr_base; - unsigned frwr_size; - unsigned frwr_zero2; - unsigned Iram; - unsigned iram_zero; - unsigned iram_base; - unsigned iram_size; - unsigned iram_zero2; - char pad7[120]; - unsigned boardHwSwInterfaceRev; - - /* added in V3 */ - char HddFirmwareRev[10]; - unsigned short RegionCode; - unsigned PolicyFlags; - char ModelNumStr[16]; -}; - #define BUTTON_LEFT 1 #define BUTTON_MENU 2 #define BUTTON_RIGHT 3 @@ -263,24 +220,6 @@ void fatal_error(void) } -static struct sysinfo ** const sysinfo_ptr = -#if CONFIG_CPU == PP5002 || CONFIG_CPU == PP5020 - 0x40017f1c; -#elif CONFIG_CPU == PP5022 || CONFIG_CPU == PP5024 - 0x4001ff1c; -#endif - -static unsigned ipod_get_hwrev_sysinfo(void) -{ - if ( (*sysinfo_ptr)->IsyS == *(unsigned *)"IsyS" ) - { - if ((*sysinfo_ptr)->len == 0xf8) - return (*sysinfo_ptr)->sdram_zero2; - else - return (*sysinfo_ptr)->boardHwSwInterfaceRev; - } - return 0xffffffff; /* unknown */ -} void* main(void) { @@ -331,9 +270,6 @@ void* main(void) printf("Rockbox boot loader"); printf("Version: %s", version); printf("IPOD version: 0x%08x", IPOD_HW_REVISION); - - printf("SysI ptr: %08x", *sysinfo_ptr); - printf("SysI HWR: %08x", ipod_get_hwrev_sysinfo()); i=ata_init(); if (i==0) { |