diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-10-11 09:30:41 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-10-11 14:18:42 +0000 |
commit | 6533d983ca48b48563cd6177c2a9d4ad1a84b749 (patch) | |
tree | 40b59ef742c2daea168ba408d1827511c192134d /firmware/rolo.c | |
parent | fcdfeb2a45bf0045e5d23104259de68b1da7b16e (diff) | |
download | rockbox-6533d983ca48b48563cd6177c2a9d4ad1a84b749.tar.gz rockbox-6533d983ca48b48563cd6177c2a9d4ad1a84b749.zip |
hosted: Add ROLO support for hosted targets
Change-Id: I2d46a63ee8225a9d9d77dd80a06c418af78c260c
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 7cded0906f..50f3d68183 100644 --- a/firmware/rolo.c +++ b/firmware/rolo.c | |||
@@ -45,7 +45,7 @@ | |||
45 | #if defined(HAVE_BOOTDATA) && !defined(SIMULATOR) | 45 | #if defined(HAVE_BOOTDATA) && !defined(SIMULATOR) |
46 | #include "bootdata.h" | 46 | #include "bootdata.h" |
47 | #include "crc32.h" | 47 | #include "crc32.h" |
48 | extern int write_bootdata(unsigned char* buf, int len, unsigned int boot_volume); /*mi4-loader.c*/ | 48 | extern int write_bootdata(unsigned char* buf, int len, unsigned int boot_volume); /*mi4-loader.c*/ |
49 | #endif | 49 | #endif |
50 | #define LOAD_FIRMWARE(a,b,c) load_mi4(a,b,c) | 50 | #define LOAD_FIRMWARE(a,b,c) load_mi4(a,b,c) |
51 | #elif defined(RKW_FORMAT) | 51 | #elif defined(RKW_FORMAT) |
@@ -56,7 +56,7 @@ extern int write_bootdata(unsigned char* buf, int len, unsigned int boot_volume | |||
56 | #if defined(HAVE_BOOTDATA) && !defined(SIMULATOR) | 56 | #if defined(HAVE_BOOTDATA) && !defined(SIMULATOR) |
57 | #include "bootdata.h" | 57 | #include "bootdata.h" |
58 | #include "crc32.h" | 58 | #include "crc32.h" |
59 | extern int write_bootdata(unsigned char* buf, int len, unsigned int boot_volume); /*rb-loader.c*/ | 59 | extern int write_bootdata(unsigned char* buf, int len, unsigned int boot_volume); /*rb-loader.c*/ |
60 | #endif | 60 | #endif |
61 | #define LOAD_FIRMWARE(a,b,c) load_firmware(a,b,c) | 61 | #define LOAD_FIRMWARE(a,b,c) load_firmware(a,b,c) |
62 | #endif | 62 | #endif |
@@ -98,7 +98,7 @@ void rolo_restart_cop(void) | |||
98 | 98 | ||
99 | /* Invalidate cache */ | 99 | /* Invalidate cache */ |
100 | commit_discard_idcache(); | 100 | commit_discard_idcache(); |
101 | 101 | ||
102 | /* Disable cache */ | 102 | /* Disable cache */ |
103 | CACHE_CTL = CACHE_CTL_DISABLE; | 103 | CACHE_CTL = CACHE_CTL_DISABLE; |
104 | 104 | ||