diff --git a/jtag/ChangeLog b/jtag/ChangeLog index 95bb4f5d..47c4955b 100644 --- a/jtag/ChangeLog +++ b/jtag/ChangeLog @@ -1,5 +1,8 @@ 2008-10-30 Arnim Laeuger + * src/svf/svf_bison.y, src/svf/svf.c, src/svf/svf.h: + removed obsolete parameter + * include/svf.h, src/cmd/svf.c, src/svf/svf.c, src/svf/svf_bison.y, src/svf/svf.h, doc/UrJTAG.txt: add the ref_freq option to svf command diff --git a/jtag/src/svf/svf.c b/jtag/src/svf/svf.c index e401b40f..bfb78d57 100644 --- a/jtag/src/svf/svf.c +++ b/jtag/src/svf/svf.c @@ -560,7 +560,7 @@ svf_endxr(parser_priv_t *priv, enum generic_irdr_coding ir_dr, int state) * freq : frequency in HZ * ***************************************************************************/ void -svf_frequency(chain_t *chain, parser_priv_t *priv, double freq) +svf_frequency(chain_t *chain, double freq) { cable_set_frequency(chain->cable, freq); } diff --git a/jtag/src/svf/svf.h b/jtag/src/svf/svf.h index 96c3af6d..cdd926c0 100644 --- a/jtag/src/svf/svf.h +++ b/jtag/src/svf/svf.h @@ -120,7 +120,7 @@ int svf_bison_init(parser_priv_t *, FILE *, int, int); void svf_bison_deinit(parser_priv_t *); void svf_endxr(parser_priv_t *, enum generic_irdr_coding, int); -void svf_frequency(chain_t *, parser_priv_t *, double); +void svf_frequency(chain_t *, double); int svf_hxr(enum generic_irdr_coding, struct ths_params *); int svf_runtest(chain_t *, parser_priv_t *, struct runtest *); int svf_state(chain_t *, parser_priv_t *, struct path_states *, int); diff --git a/jtag/src/svf/svf_bison.y b/jtag/src/svf/svf_bison.y index 1a078b0d..cf8b1b79 100644 --- a/jtag/src/svf/svf_bison.y +++ b/jtag/src/svf/svf_bison.y @@ -108,12 +108,12 @@ svf_statement | FREQUENCY ';' { - svf_frequency(chain, priv_data, 0.0); + svf_frequency(chain, 0.0); } | FREQUENCY NUMBER HZ ';' { - svf_frequency(chain, priv_data, $2); + svf_frequency(chain, $2); } | HDR NUMBER ths_param_list ';'