diff options
| author | Dave Chapman <dave@dchapman.com> | 2006-02-05 17:34:49 +0000 |
|---|---|---|
| committer | Dave Chapman <dave@dchapman.com> | 2006-02-05 17:34:49 +0000 |
| commit | 987879b958f87a9af7ef9edcf6ae417fe56db788 (patch) | |
| tree | 5de31eff771b81440b833f4b9d5b0a3b382afe0f /firmware/rolo.c | |
| parent | 465596b1639393ef320decced442537133ab09e8 (diff) | |
| download | rockbox-987879b958f87a9af7ef9edcf6ae417fe56db788.zip rockbox-987879b958f87a9af7ef9edcf6ae417fe56db788.tar.gz rockbox-987879b958f87a9af7ef9edcf6ae417fe56db788.tar.bz2 rockbox-987879b958f87a9af7ef9edcf6ae417fe56db788.tar.xz | |
Further iPod 3G work from Seven Le Mesle
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8583 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/rolo.c')
| -rw-r--r-- | firmware/rolo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/rolo.c b/firmware/rolo.c index 958db56..f25f2ba 100644 --- a/firmware/rolo.c +++ b/firmware/rolo.c @@ -73,7 +73,7 @@ void rolo_restart(const unsigned char* source, unsigned char* dest, : : "a"(dest) ); #endif -#if CONFIG_CPU == PP5020 +#if (CONFIG_CPU == PP5002) || (CONFIG_CPU==PP5020) /* TODO: Implement for iPod */ #endif } @@ -92,7 +92,7 @@ int rolo_load(const char* filename) { int fd; long length; -#if CONFIG_CPU == MCF5249 || CONFIG_CPU == PP5020 +#if (CONFIG_CPU == MCF5249) || (CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020) int i; unsigned long checksum,file_checksum; #else @@ -116,7 +116,7 @@ int rolo_load(const char* filename) length = filesize(fd) - FIRMWARE_OFFSET_FILE_DATA; -#if CONFIG_CPU == MCF5249 || CONFIG_CPU == PP5020 +#if (CONFIG_CPU == MCF5249) || (CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020) /* Read and save checksum */ lseek(fd, FIRMWARE_OFFSET_FILE_CRC, SEEK_SET); if (read(fd, &file_checksum, 4) != 4) { |