diff --git a/jtag/ChangeLog b/jtag/ChangeLog index 365c5890..d5b06f55 100644 --- a/jtag/ChangeLog +++ b/jtag/ChangeLog @@ -1,3 +1,9 @@ +2003-02-18 Marcel Telka + + * src/tap/cable.c: Added include for useconds_t on some systems. + * src/flash-amd.c (amdstatus29): Disabled unused function. + (amdisprotected): Ditto. + 2003-02-17 Marcel Telka * src/jtag.c (jtag_parse_line): Fixed segfault for 'set' command. diff --git a/jtag/src/flash-amd.c b/jtag/src/flash-amd.c index 4bbcd209..48889c16 100644 --- a/jtag/src/flash-amd.c +++ b/jtag/src/flash-amd.c @@ -60,6 +60,7 @@ amd_flash_autodetect( parts *ps, cfi_query_structure_t *cfi ) /* * first implementation: see [1], page 29 */ +#if 0 static int amdstatus29( parts *ps, uint32_t adr, uint32_t data ) { @@ -89,6 +90,7 @@ amdstatus29( parts *ps, uint32_t adr, uint32_t data ) return 0; } +#endif /* 0 */ /* * second implementation: see [1], page 30 @@ -120,6 +122,7 @@ amdstatus( parts *ps, uint32_t adr, int data ) return 0; } +#if 0 static int amdisprotected( parts *ps, uint32_t adr ) { @@ -136,6 +139,7 @@ amdisprotected( parts *ps, uint32_t adr ) return ((data & 0x00ff00ff) != 0); } +#endif /* 0 */ static void amd_flash_print_info( parts *ps ) diff --git a/jtag/src/tap/cable.c b/jtag/src/tap/cable.c index ddd34151..a451f39d 100644 --- a/jtag/src/tap/cable.c +++ b/jtag/src/tap/cable.c @@ -24,6 +24,7 @@ #include #include +#include #include #include "cable.h"