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
This commit is contained in:
parent
4ea4ce4cfb
commit
0ada0ae789
1 changed files with 3 additions and 2 deletions
|
@ -172,7 +172,8 @@ void rolo_restart(const unsigned char* source, unsigned char* dest,
|
||||||
"mov pc, r0 \n"
|
"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 */
|
/* Flush and invalidate caches */
|
||||||
cpucache_invalidate();
|
cpucache_invalidate();
|
||||||
|
|
||||||
|
@ -237,7 +238,7 @@ int rolo_load(const char* filename)
|
||||||
|
|
||||||
#if defined(CPU_COLDFIRE) || defined(CPU_PP) || (CONFIG_CPU==DM320) \
|
#if defined(CPU_COLDFIRE) || defined(CPU_PP) || (CONFIG_CPU==DM320) \
|
||||||
|| defined(CPU_TCC780X) || (CONFIG_CPU==IMX31L) || (CONFIG_CPU == S3C2440) \
|
|| 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 */
|
/* Read and save checksum */
|
||||||
lseek(fd, FIRMWARE_OFFSET_FILE_CRC, SEEK_SET);
|
lseek(fd, FIRMWARE_OFFSET_FILE_CRC, SEEK_SET);
|
||||||
if (read(fd, &file_checksum, 4) != 4) {
|
if (read(fd, &file_checksum, 4) != 4) {
|
||||||
|
|
Loading…
Reference in a new issue