9 Commits (8a0331a848c37ab6fd427447f3d41163d71168c5)

Author SHA1 Message Date
Marcel Telka 246966636e 2003-05-14 Marcel Telka <marcel@telka.sk>
* include/Makefile.am (noinst_HEADERS): Added cfi.h.
	* include/cfi.h: New file.
	* src/jtag.h (detect_cfi): Removed function declaration.
	* src/flash.c: Replaced jtag.h include with cfi.h.
	* src/readmem.c: Ditto.

	* src/flash/Makefile.am (libflash_a_SOURCES): Added cfi.c.
	* src/Makefie.am (jtag_SOURCES): Removed cfi.c.
	* src/cfi.c: Moved this file ...
	* src/flash/cfi.c: ... here and replaced jtag.h include with cfi.h one.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@427 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 8d184b53c5 2003-05-14 Marcel Telka <marcel@telka.sk>
* configure.ac (AC_CONFIG_FILES): Added src/flash/Makefile.
	* include/Makefile.am (noinst_HEADERS): Added flash.h.
	* src/Makefile.am (SUBDIRS): Added flash.
	(jtag_SOURCES): Removed flash.h, flash-intel.c, and flash-amd.c.
	(jtag_LDADD): Added libflash.
	* src/flash-amd.c: Moved this file ...
	* src/flash/amd.c: ... here.
	* src/flash-intel.c: Moved this file ...
	* src/flash/intel.c: ... here.
	* src/flash.h: Moved this file ...
	* include/flash.h: ...here.
	* src/flash/Makefile.am: New file.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@425 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 9406ed47c7 2003-03-18 Marcel Telka <marcel@telka.sk>
* include/parport.h: New file. Added parport driver support.
		All cable drivers modified.
	* src/tap/parport.c: Ditto.
	* src/tap/parport/direct.c: Ditto.
	* src/jtag.c (jtag_parse_line) <cable>: Added parport driver support.
	* include/Makefile.am (noinst_HEADERS): Added parport.h.
	* src/tap/cable/generic.c: New file withgGeneric functions for cable drivers.
		All cable drivers modified.
	* src/tap/cable/generic.h: Ditto.
	* src/tap/Makefile.am (libtap_a_SOURCES): Added parport.c, parport/direct.c, cable/generic.h,
		and cable/generic.c.

	* include/cable.h: Added dynamic cable objects. Added cable interpose functions.
		All callers changed.
	* src/tap/cable.c: Ditto.

	* include/chain.h (chain_connect): Function removed.
	(chain_disconnect): New function.
	* src/tap/chain.c (chain_free): Modified for chain_disconnect() call.
	(chain_connect): Removed.
	(chain_disconnect): New function.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@397 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka daa49cf9bc 2003-03-13 Marcel Telka <marcel@telka.sk>
* include/chain.h: New file.
	* src/tap/chain.c: Ditto.
	* src/tap/Makefile.am (libtap_a_SOURCES): Added chain.c.
	* include/Makefile.am (noinst_HEADERS): Added chain.h.
	* src/jtag.c: Encapsulated parts, cable and TAP state into one object - chain.
		All relevant function parameters changed to `chain'.
	* src/tap/state.c: `trst' state moved to cable drivers.
		All cable drivers changed.
	* include/cable.h (cable_driver_t) <set_trst>: Changed return value from void to int.
		All cable drivers changed.
	(cable_driver_t) <get_trst>: New function.
		Implemented this function to all cable drivers.
	* include/part.h (part_shift_instruction, part_shift_data_register)
	(parts_shift_instructions, parts_shift_data_registers): Funcions removed.
	* src/part/part.c (part_shift_instruction, part_shift_data_register)
	(parts_shift_instructions, parts_shift_data_registers): Ditto.
	* src/tap/cable/arcom.c: Removed dependency on state.h.
	* src/tap/cable/byteblaster.c: Ditto.
	* src/tap/cable/dlc5.c: Ditto.
	* src/tap/cable/ea253.c: Ditto.
	* src/tap/cable/ei012.c: Ditto.
	* src/tap/cable/mpcbdm.c: Ditto.
	* src/tap/cable/wiggler.c: Ditto.

	* include/state.h (bit): Replaced with common.h include.
	(Unknown_State, Run_Test_Idle, Select_DR_Scan, Select_IR_Scan): Removed parentheses.
	* include/tap.h (write_command): Removed unused declaration.

	* src/detect.h: Removed file.
	* src/jtag.h: New file with common jtag function declarations.
	* src/Makefile.am (jtag_SOURCES): Removed detect.h, added jtag.h.
	* src/cfi.c: Added jtag.h include. Moved common function declarations to jtag.h file.
	* src/detect.c: Ditto.
	* src/discovery.c: Ditto.
	* src/flash.c: Ditto.
	* src/help.c: Ditto.
	* src/jtag.c: Ditto.
	* src/readmem.c: Ditto.

	* src/jtag.c (jtag_create_jtagdir, jtag_load_history, jtag_save_history, jtag_parse_line)
	(jtag_readline_loop, jtag_parse_file, jtag_parse_rc): Changed functions to `static'.

	* src/tap/tap.c: Added l10n support.
	* po/POTFILES.in: Added src/tap/chain.c and src/tap/tap.c.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@392 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 41afa6bd95 2003-02-18 Marcel Telka <marcel@telka.sk>
* include/Makefile.am (noinst_HEADERS): Added gettext.h.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@373 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 2b799c36b9 2003-02-18 Marcel Telka <marcel@telka.sk>
* configure.ac (AC_CONFIG_FILES): Added src/bus/Makefile.
	* src/bus.h: Moved this file...
	* include/bus.h: ...here.
	* include/Makefile.am (noinst_HEADERS): Added bus.h.
	* src/ixp425.c: Moved this file...
	* src/bus/ixp425.c: ...here.
	* src/pxa250.c: Moved this file...
	* src/bus/pxa2x0.c: ...here.
	* src/sa1110.c: Moved this file...
	* src/bus/sa1110.c: ...here.
	* src/bus/Makefile.am: New file.
	* src/Makefile.am (SUBDIRS): Added bus.
	(jtag_SOURCES): Removed bus.h, ixp425.c, pxa250.c, sa1110.c.
	(jtag_DEPENDENCIES): Added libbus.a.
	(jtag_LDADD): Ditto.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@368 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka dfd76356a2 2003-01-08 Marcel Telka <marcel@telka.sk>
* include/Makefile.am: Removed ctrl.h, added cable.h.
	* include/ctrl.h: Removed obsolete file.
	* include/cable.h: Added common declarations for JTAG cable drivers.
	* src/detect.c: Replaced ctrl.h include with cable.h (JTAG cable driver support).
	* src/discovery.c: Ditto.
	* src/tap/tap.c: Ditto.
	* src/help.c: Added help for new command 'cable'.
	* src/jtag.c: Added support for JTAG cable drivers, added new command 'cable'.
	* src/tap/Makefile.am: Removed ctrl.c, added cable/ea253.c, updated includes.
	* src/tap/ctrl.c: Removed obsolete file.
	* src/tap/state.c: Changed default TRST state to 1.
	* src/tap/cable/ea253.c: Added driver for EA253 JTAG cable.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@294 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 1fb131a244 Removed empty SUBDIRS, fixed backslash escape.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@192 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago
Marcel Telka 0fb204f3ee Moved from include module.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@186 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
22 years ago