From c5c7421704cefceb68f84b2494fc5f13b0f356bf Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Tue, 21 Mar 2006 13:22:51 +0000 Subject: Make RoLo compile for X5 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9164 a1c6a512-1295-4272-9138-f99709370657 --- firmware/rolo.c | 4 ++-- 1 file 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) { 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) { -- cgit v1.2.3