More JTAG interface driver cleanup:
- Make interface_jtag_execute_queue call new helper function. - Add default_interface_jtag_execute_queue to wrap jtag interface access. This patch may look useless on its own, but it helps to isolate the core JTAG variables from the interface_jtag_* routines, so the later can be moved into jtag_driver.c in a pending patch. git-svn-id: svn://svn.berlios.de/openocd/trunk@1993 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -869,6 +869,13 @@ extern int interface_jtag_add_sleep(u32 us);
|
||||
extern int interface_jtag_add_clocks(int num_cycles);
|
||||
extern int interface_jtag_execute_queue(void);
|
||||
|
||||
/**
|
||||
* Calls the interface callback to execute the queue. This routine
|
||||
* is used by the JTAG driver layer and should not be called directly.
|
||||
*/
|
||||
extern int default_interface_jtag_execute_queue(void);
|
||||
|
||||
|
||||
#endif // INCLUDE_JTAG_MINIDRIVER_H
|
||||
|
||||
/* this allows JTAG devices to implement the entire jtag_xxx() layer in hw/sw */
|
||||
|
||||
Reference in New Issue
Block a user