2003-02-18 Marcel Telka <marcel@telka.sk>

* src/tap/cable.c: Added <sys/types.h> 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
master
Marcel Telka 22 years ago
parent 29a5f4da8d
commit 7fdbf06e79

@ -1,3 +1,9 @@
2003-02-18 Marcel Telka <marcel@telka.sk>
* src/tap/cable.c: Added <sys/types.h> include for useconds_t on some systems.
* src/flash-amd.c (amdstatus29): Disabled unused function.
(amdisprotected): Ditto.
2003-02-17 Marcel Telka <marcel@telka.sk>
* src/jtag.c (jtag_parse_line): Fixed segfault for 'set' command.

@ -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 )

@ -24,6 +24,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <stdint.h>
#include "cable.h"

Loading…
Cancel
Save