diff options
author | Dave Chapman <dave@dchapman.com> | 2009-10-11 01:54:29 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2009-10-11 01:54:29 +0000 |
commit | 0ada0ae7899e0feca17cfd5530406d420dc47adf (patch) | |
tree | 2d284c8960957f083916ff74f374bb37ec0cc1f6 /firmware/rolo.c | |
parent | 4ea4ce4cfba9f298ad28cd8b3281806606cb1904 (diff) |
Enable rolo on the Nano2G - it hasn't been thoroughly tested, but seems to be working.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23086 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/rolo.c')
-rw-r--r-- | firmware/rolo.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/rolo.c b/firmware/rolo.c index 316d23f8e1..faceef360a 100644 --- a/firmware/rolo.c +++ b/firmware/rolo.c @@ -172,7 +172,8 @@ void rolo_restart(const unsigned char* source, unsigned char* dest, "mov pc, r0 \n" ); -#elif defined(CPU_TCC780X) || (CONFIG_CPU == S3C2440) || (CONFIG_CPU==DM320) +#elif defined(CPU_TCC780X) || (CONFIG_CPU == S3C2440) || \ + (CONFIG_CPU==DM320) || defined(CPU_S5L870X) /* Flush and invalidate caches */ cpucache_invalidate(); @@ -237,7 +238,7 @@ int rolo_load(const char* filename) #if defined(CPU_COLDFIRE) || defined(CPU_PP) || (CONFIG_CPU==DM320) \ || defined(CPU_TCC780X) || (CONFIG_CPU==IMX31L) || (CONFIG_CPU == S3C2440) \ - || (CONFIG_CPU==AS3525) || (CONFIG_CPU==JZ4732) + || (CONFIG_CPU==AS3525) || (CONFIG_CPU==JZ4732) || defined(CPU_S5L870X) /* Read and save checksum */ lseek(fd, FIRMWARE_OFFSET_FILE_CRC, SEEK_SET); if (read(fd, &file_checksum, 4) != 4) { |