summaryrefslogtreecommitdiffstats
path: root/firmware/rolo.c
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2008-05-02 03:27:17 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2008-05-02 03:27:17 +0000
commit6c6a2ed9108a2937c644042b35c72ffc38f5ecce (patch)
tree5f3be81798f49d28a861905abc1335215e41642e /firmware/rolo.c
parenta74d15025e24593962b9d02ee8dc67d497f8e42e (diff)
downloadrockbox-6c6a2ed9108a2937c644042b35c72ffc38f5ecce.tar.gz
rockbox-6c6a2ed9108a2937c644042b35c72ffc38f5ecce.tar.bz2
rockbox-6c6a2ed9108a2937c644042b35c72ffc38f5ecce.zip
Working ROLO for the Gigabeat F/X
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17304 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/rolo.c')
-rw-r--r--firmware/rolo.c6
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 @@
#endif
#if !defined(IRIVER_IFP7XX_SERIES) && \
- (CONFIG_CPU != PP5002) && (CONFIG_CPU != S3C2440)
+ (CONFIG_CPU != PP5002)
/* FIX: this doesn't work on iFP, 3rd Gen ipods */
#define IRQ0_EDGE_TRIGGER 0x80
@@ -168,7 +168,7 @@ void rolo_restart(const unsigned char* source, unsigned char* dest,
"mov pc, r0 \n"
);
-#elif defined(CPU_TCC780X) || (CONFIG_CPU==IMX31L)
+#elif defined(CPU_TCC780X) || (CONFIG_CPU==IMX31L) || (CONFIG_CPU == S3C2440)
/* Flush and invalidate caches */
invalidate_icache();
@@ -226,7 +226,7 @@ int rolo_load(const char* filename)
length = filesize(fd) - FIRMWARE_OFFSET_FILE_DATA;
#if defined(CPU_COLDFIRE) || defined(CPU_PP) || (CONFIG_CPU==DM320) \
- || defined(CPU_TCC780X) || (CONFIG_CPU==IMX31L)
+ || defined(CPU_TCC780X) || (CONFIG_CPU==IMX31L) || (CONFIG_CPU == S3C2440)
/* Read and save checksum */
lseek(fd, FIRMWARE_OFFSET_FILE_CRC, SEEK_SET);
if (read(fd, &file_checksum, 4) != 4) {