typo fix
Laurent Gonzalez
lgonzale@ri.silicomp.fr
Fri Aug 23 07:50:00 GMT 2002
hi,
I think there is a typo in redboot/current/src/flash.c.
This patch may be applied to the latest version (1.39)
@@ -850,7 +850,7 @@
bool mem_addr_set = false;
bool show_cksum = false;
struct option_info opts[3];
-#ifdef CYGPKG_REDBOOT_FIS_CRC_CHECK
+#ifdef CYGSEM_REDBOOT_FIS_CRC_CHECK
unsigned long cksum;
#endif
int num_options;
@@ -926,7 +926,7 @@
}
entry_address = (unsigned long)img->entry_point;
-#ifdef CYGPKG_REDBOOT_FIS_CRC_CHECK
+#ifdef CYGSEM_REDBOOT_FIS_CRC_CHECK
cksum = cyg_crc32((unsigned char *)mem_addr, img->data_length);
if (show_cksum) {
diag_printf("Checksum: 0x%08lx\n", cksum);
regards,
GONZALEZ Laurent
Silicomp Research Institute
Tel: 04 76 63 48 63
More information about the Ecos-patches
mailing list