summaryrefslogtreecommitdiff
path: root/firmware/rolo.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/rolo.c')
-rw-r--r--firmware/rolo.c6
1 files changed, 3 insertions, 3 deletions
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,
73 : : "a"(dest) 73 : : "a"(dest)
74 ); 74 );
75#endif 75#endif
76#if CONFIG_CPU == PP5020 76#if (CONFIG_CPU == PP5002) || (CONFIG_CPU==PP5020)
77 /* TODO: Implement for iPod */ 77 /* TODO: Implement for iPod */
78#endif 78#endif
79} 79}
@@ -92,7 +92,7 @@ int rolo_load(const char* filename)
92{ 92{
93 int fd; 93 int fd;
94 long length; 94 long length;
95#if CONFIG_CPU == MCF5249 || CONFIG_CPU == PP5020 95#if (CONFIG_CPU == MCF5249) || (CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020)
96 int i; 96 int i;
97 unsigned long checksum,file_checksum; 97 unsigned long checksum,file_checksum;
98#else 98#else
@@ -116,7 +116,7 @@ int rolo_load(const char* filename)
116 116
117 length = filesize(fd) - FIRMWARE_OFFSET_FILE_DATA; 117 length = filesize(fd) - FIRMWARE_OFFSET_FILE_DATA;
118 118
119#if CONFIG_CPU == MCF5249 || CONFIG_CPU == PP5020 119#if (CONFIG_CPU == MCF5249) || (CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020)
120 /* Read and save checksum */ 120 /* Read and save checksum */
121 lseek(fd, FIRMWARE_OFFSET_FILE_CRC, SEEK_SET); 121 lseek(fd, FIRMWARE_OFFSET_FILE_CRC, SEEK_SET);
122 if (read(fd, &file_checksum, 4) != 4) { 122 if (read(fd, &file_checksum, 4) != 4) {