]> git.sur5r.net Git - openocd/commit
Remove duplicated initialization
authorAlexander Stein <alexander.stein@informatik.tu-chemnitz.de>
Wed, 8 Sep 2010 08:17:54 +0000 (10:17 +0200)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Wed, 8 Sep 2010 08:34:43 +0000 (10:34 +0200)
commita40f12d62693042415c46bcc95b0bd86d9eaea81
tree50444b66d4c5381dea0cacdb5b06ee9e773e4152
parent98a66c48091be6c081f1b2fee04ef47e7f1c2070
Remove duplicated initialization

I a mail conversation with Øyvind we stated that speed may not be set at
all on case CLOCK_MODE_KHZ and CLOCK_MODE_RCLK. Also there isn't proper
error propagation adapter_khz_to_speed or jtag_rclk_to_speed.
So jtag_get_speed may need some rewrite for error propagation.

CC: Øyvind Harboe <oyvind.harboe@zylin.com>
Signed-off-by: Alexander Stein <alexander.stein@informatik.tu-chemnitz.de>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/jtag/core.c