diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/jtag/hla/hla_interface.c | 3 | ||||
-rw-r--r-- | src/jtag/interface.h | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/jtag/hla/hla_interface.c b/src/jtag/hla/hla_interface.c index 6d5cdc5..064c268 100644 --- a/src/jtag/hla/hla_interface.c +++ b/src/jtag/hla/hla_interface.c @@ -361,4 +361,7 @@ struct adapter_driver hl_adapter_driver = { .poll_trace = &hl_interface_poll_trace, /* no ops for HLA, targets hla_target and stm8 intercept them all */ + + /* FIXME: helper to simplify transition of HLA drivers. To be removed */ + .hla_if = &hl_if, }; diff --git a/src/jtag/interface.h b/src/jtag/interface.h index 39d2d9d..91291db 100644 --- a/src/jtag/interface.h +++ b/src/jtag/interface.h @@ -37,6 +37,9 @@ */ +/* FIXME: prototype to simplify transition of HLA drivers. To be removed */ +struct hl_interface_s; + /** implementation of wrapper function tap_set_state() */ void tap_set_state_impl(tap_state_t new_state); @@ -359,6 +362,9 @@ struct adapter_driver { /* DAP APIs over SWD transport */ const struct dap_ops *dap_swd_ops; + + /* FIXME: helper to simplify transition of HLA drivers. To be removed */ + struct hl_interface_s *hla_if; }; extern const char * const jtag_only[]; |