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.tar.gz rockbox-987879b958f87a9af7ef9edcf6ae417fe56db788.zip |
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 958db56322..f25f2ba6fe 100644 --- a/firmware/rolo.c +++ b/firmware/rolo.c | |||
@@ -73,7 +73,7 @@ void rolo_restart(const unsigned char* source, unsigned char* dest, | |||
73 | : : "a"(dest) | 73 | : : "a"(dest) |
74 | ); | 74 | ); |
75 | #endif | 75 | #endif |
76 | #if CONFIG_CPU == PP5020 | 76 | #if (CONFIG_CPU == PP5002) || (CONFIG_CPU==PP5020) |
77 | /* TODO: Implement for iPod */ | 77 | /* TODO: Implement for iPod */ |
78 | #endif | 78 | #endif |
79 | } | 79 | } |
@@ -92,7 +92,7 @@ int rolo_load(const char* filename) | |||
92 | { | 92 | { |
93 | int fd; | 93 | int fd; |
94 | long length; | 94 | long length; |
95 | #if CONFIG_CPU == MCF5249 || CONFIG_CPU == PP5020 | 95 | #if (CONFIG_CPU == MCF5249) || (CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020) |
96 | int i; | 96 | int i; |
97 | unsigned long checksum,file_checksum; | 97 | unsigned long checksum,file_checksum; |
98 | #else | 98 | #else |
@@ -116,7 +116,7 @@ int rolo_load(const char* filename) | |||
116 | 116 | ||
117 | length = filesize(fd) - FIRMWARE_OFFSET_FILE_DATA; | 117 | length = filesize(fd) - FIRMWARE_OFFSET_FILE_DATA; |
118 | 118 | ||
119 | #if CONFIG_CPU == MCF5249 || CONFIG_CPU == PP5020 | 119 | #if (CONFIG_CPU == MCF5249) || (CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020) |
120 | /* Read and save checksum */ | 120 | /* Read and save checksum */ |
121 | lseek(fd, FIRMWARE_OFFSET_FILE_CRC, SEEK_SET); | 121 | lseek(fd, FIRMWARE_OFFSET_FILE_CRC, SEEK_SET); |
122 | if (read(fd, &file_checksum, 4) != 4) { | 122 | if (read(fd, &file_checksum, 4) != 4) { |