From 987879b958f87a9af7ef9edcf6ae417fe56db788 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Sun, 5 Feb 2006 17:34:49 +0000 Subject: Further iPod 3G work from Seven Le Mesle git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8583 a1c6a512-1295-4272-9138-f99709370657 --- firmware/rolo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'firmware/rolo.c') diff --git a/firmware/rolo.c b/firmware/rolo.c index 958db56322..f25f2ba6fe 100644 --- a/firmware/rolo.c +++ b/firmware/rolo.c @@ -73,7 +73,7 @@ void rolo_restart(const unsigned char* source, unsigned char* dest, : : "a"(dest) ); #endif -#if CONFIG_CPU == PP5020 +#if (CONFIG_CPU == PP5002) || (CONFIG_CPU==PP5020) /* TODO: Implement for iPod */ #endif } @@ -92,7 +92,7 @@ int rolo_load(const char* filename) { int fd; long length; -#if CONFIG_CPU == MCF5249 || CONFIG_CPU == PP5020 +#if (CONFIG_CPU == MCF5249) || (CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020) int i; unsigned long checksum,file_checksum; #else @@ -116,7 +116,7 @@ int rolo_load(const char* filename) length = filesize(fd) - FIRMWARE_OFFSET_FILE_DATA; -#if CONFIG_CPU == MCF5249 || CONFIG_CPU == PP5020 +#if (CONFIG_CPU == MCF5249) || (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