Mercurial > flash_v2
diff packages/redboot/current/include/redboot.h @ 284:3e80ecaaa3f8
* src/crc.c: Removed. Replaced with the CRC package.
* src/cksum.c: Removed the posix_crc function.
* src/flash.c: Use the crc package crc functions.
* src/xyzModem.c: Ditto
* include/redboot.h: Use the crc package include file.
* cdl/redboot.cdl: removed crc.c
| author | asl |
|---|---|
| date | Mon, 12 Aug 2002 07:54:52 +0000 |
| parents | a6660704f7a6 |
| children | 906a5d289c6d |
line wrap: on
line diff
--- a/packages/redboot/current/include/redboot.h +++ b/packages/redboot/current/include/redboot.h @@ -61,6 +61,7 @@ #include <cyg/hal/hal_if.h> #include <cyg/hal/hal_tables.h> #include <cyg/infra/diag.h> +#include <cyg/crc/crc.h> #include <string.h> #ifdef CYGPKG_REDBOOT_NETWORKING @@ -139,10 +140,6 @@ externC int _rb_gets_preloaded(char *li externC int start_console(void); externC void end_console(int old_console); -// CRC support -unsigned short crc16(unsigned char *buf, int len); -unsigned long crc32(unsigned char *buf, int len); - // Alias functions #ifdef CYGSEM_REDBOOT_FLASH_ALIASES externC char *flash_lookup_alias(char *alias, char *alias_buf);
