diff options
Diffstat (limited to 'firmware/rolo.c')
-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 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) { |