summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2006-03-21 13:22:51 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2006-03-21 13:22:51 +0000
commitc5c7421704cefceb68f84b2494fc5f13b0f356bf (patch)
tree741757522eda8c996a84637c4b94f2935f84547f
parent92cf8ca257a039a730d8c5ed92dbff318d318b40 (diff)
downloadrockbox-c5c7421704cefceb68f84b2494fc5f13b0f356bf.tar.gz
rockbox-c5c7421704cefceb68f84b2494fc5f13b0f356bf.zip
Make RoLo compile for X5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9164 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/rolo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/rolo.c b/firmware/rolo.c
index 0e9612fd4f..664c67c16f 100644
--- a/firmware/rolo.c
+++ b/firmware/rolo.c
@@ -93,7 +93,7 @@ int rolo_load(const char* filename)
93{ 93{
94 int fd; 94 int fd;
95 long length; 95 long length;
96#if (CONFIG_CPU == MCF5249) || (CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020) 96#if defined(CPU_COLDFIRE) || (CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020)
97 int i; 97 int i;
98 unsigned long checksum,file_checksum; 98 unsigned long checksum,file_checksum;
99#else 99#else
@@ -117,7 +117,7 @@ int rolo_load(const char* filename)
117 117
118 length = filesize(fd) - FIRMWARE_OFFSET_FILE_DATA; 118 length = filesize(fd) - FIRMWARE_OFFSET_FILE_DATA;
119 119
120#if (CONFIG_CPU == MCF5249) || (CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020) 120#if defined(CPU_COLDFIRE) || (CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020)
121 /* Read and save checksum */ 121 /* Read and save checksum */
122 lseek(fd, FIRMWARE_OFFSET_FILE_CRC, SEEK_SET); 122 lseek(fd, FIRMWARE_OFFSET_FILE_CRC, SEEK_SET);
123 if (read(fd, &file_checksum, 4) != 4) { 123 if (read(fd, &file_checksum, 4) != 4) {