summaryrefslogtreecommitdiff
path: root/firmware/rolo.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/rolo.c')
-rw-r--r--firmware/rolo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/rolo.c b/firmware/rolo.c
index 848b35b056..a18a0737c7 100644
--- a/firmware/rolo.c
+++ b/firmware/rolo.c
@@ -168,7 +168,7 @@ void rolo_restart(const unsigned char* source, unsigned char* dest,
168 "mov pc, r0 \n" 168 "mov pc, r0 \n"
169 ); 169 );
170 170
171#elif defined(CPU_TCC780X) 171#elif defined(CPU_TCC780X) || (CONFIG_CPU==IMX31L)
172 /* Flush cache */ 172 /* Flush cache */
173 flush_icache(); 173 flush_icache();
174 174
@@ -226,7 +226,7 @@ int rolo_load(const char* filename)
226 length = filesize(fd) - FIRMWARE_OFFSET_FILE_DATA; 226 length = filesize(fd) - FIRMWARE_OFFSET_FILE_DATA;
227 227
228#if defined(CPU_COLDFIRE) || defined(CPU_PP) || (CONFIG_CPU==DM320) \ 228#if defined(CPU_COLDFIRE) || defined(CPU_PP) || (CONFIG_CPU==DM320) \
229 || defined(CPU_TCC780X) 229 || defined(CPU_TCC780X) || (CONFIG_CPU==IMX31L)
230 /* Read and save checksum */ 230 /* Read and save checksum */
231 lseek(fd, FIRMWARE_OFFSET_FILE_CRC, SEEK_SET); 231 lseek(fd, FIRMWARE_OFFSET_FILE_CRC, SEEK_SET);
232 if (read(fd, &file_checksum, 4) != 4) { 232 if (read(fd, &file_checksum, 4) != 4) {