From 0ada0ae7899e0feca17cfd5530406d420dc47adf Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Sun, 11 Oct 2009 01:54:29 +0000 Subject: [PATCH] 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 --- firmware/rolo.c | 5 +++-- 1 file 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) {