diff options
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 a76a8925b0..1b29affb25 100644 --- a/firmware/rolo.c +++ b/firmware/rolo.c | |||
@@ -41,7 +41,7 @@ | |||
41 | #endif | 41 | #endif |
42 | 42 | ||
43 | #if !defined(IRIVER_IFP7XX_SERIES) && \ | 43 | #if !defined(IRIVER_IFP7XX_SERIES) && \ |
44 | (CONFIG_CPU != PP5002) && (CONFIG_CPU != S3C2440) | 44 | (CONFIG_CPU != PP5002) |
45 | /* FIX: this doesn't work on iFP, 3rd Gen ipods */ | 45 | /* FIX: this doesn't work on iFP, 3rd Gen ipods */ |
46 | 46 | ||
47 | #define IRQ0_EDGE_TRIGGER 0x80 | 47 | #define IRQ0_EDGE_TRIGGER 0x80 |
@@ -168,7 +168,7 @@ void rolo_restart(const unsigned char* source, unsigned char* dest, | |||
168 | "mov pc, r0 \n" | 168 | "mov pc, r0 \n" |
169 | ); | 169 | ); |
170 | 170 | ||
171 | #elif defined(CPU_TCC780X) || (CONFIG_CPU==IMX31L) | 171 | #elif defined(CPU_TCC780X) || (CONFIG_CPU==IMX31L) || (CONFIG_CPU == S3C2440) |
172 | /* Flush and invalidate caches */ | 172 | /* Flush and invalidate caches */ |
173 | invalidate_icache(); | 173 | invalidate_icache(); |
174 | 174 | ||
@@ -226,7 +226,7 @@ int rolo_load(const char* filename) | |||
226 | length = filesize(fd) - FIRMWARE_OFFSET_FILE_DATA; | 226 | length = filesize(fd) - FIRMWARE_OFFSET_FILE_DATA; |
227 | 227 | ||
228 | #if defined(CPU_COLDFIRE) || defined(CPU_PP) || (CONFIG_CPU==DM320) \ | 228 | #if defined(CPU_COLDFIRE) || defined(CPU_PP) || (CONFIG_CPU==DM320) \ |
229 | || defined(CPU_TCC780X) || (CONFIG_CPU==IMX31L) | 229 | || defined(CPU_TCC780X) || (CONFIG_CPU==IMX31L) || (CONFIG_CPU == S3C2440) |
230 | /* Read and save checksum */ | 230 | /* Read and save checksum */ |
231 | lseek(fd, FIRMWARE_OFFSET_FILE_CRC, SEEK_SET); | 231 | lseek(fd, FIRMWARE_OFFSET_FILE_CRC, SEEK_SET); |
232 | if (read(fd, &file_checksum, 4) != 4) { | 232 | if (read(fd, &file_checksum, 4) != 4) { |