From 7fdbf06e7915ff627ed3f45ed265ae27c7f6ad1d Mon Sep 17 00:00:00 2001 From: Marcel Telka Date: Tue, 18 Feb 2003 06:48:07 +0000 Subject: [PATCH] 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. git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@367 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- jtag/ChangeLog | 6 ++++++ jtag/src/flash-amd.c | 4 ++++ jtag/src/tap/cable.c | 1 + 3 files changed, 11 insertions(+) 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"