This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
typo fix
- From: Laurent Gonzalez <lgonzale at ri dot silicomp dot fr>
- To: ecos-patches at sources dot redhat dot com
- Date: Fri, 23 Aug 2002 16:52:53 +0200
- Subject: typo fix
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