diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2006-03-21 13:22:51 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2006-03-21 13:22:51 +0000 |
| commit | c5c7421704cefceb68f84b2494fc5f13b0f356bf (patch) | |
| tree | 741757522eda8c996a84637c4b94f2935f84547f | |
| parent | 92cf8ca257a039a730d8c5ed92dbff318d318b40 (diff) | |
| download | rockbox-c5c7421704cefceb68f84b2494fc5f13b0f356bf.zip rockbox-c5c7421704cefceb68f84b2494fc5f13b0f356bf.tar.gz rockbox-c5c7421704cefceb68f84b2494fc5f13b0f356bf.tar.bz2 rockbox-c5c7421704cefceb68f84b2494fc5f13b0f356bf.tar.xz | |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/rolo.c b/firmware/rolo.c index 0e9612f..664c67c 100644 --- a/firmware/rolo.c +++ b/firmware/rolo.c @@ -93,7 +93,7 @@ int rolo_load(const char* filename) { int fd; long length; -#if (CONFIG_CPU == MCF5249) || (CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020) +#if defined(CPU_COLDFIRE) || (CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020) int i; unsigned long checksum,file_checksum; #else @@ -117,7 +117,7 @@ int rolo_load(const char* filename) length = filesize(fd) - FIRMWARE_OFFSET_FILE_DATA; -#if (CONFIG_CPU == MCF5249) || (CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020) +#if defined(CPU_COLDFIRE) || (CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020) /* Read and save checksum */ lseek(fd, FIRMWARE_OFFSET_FILE_CRC, SEEK_SET); if (read(fd, &file_checksum, 4) != 4) { |