adapter speed: require init script setting and centralize activation from drivers to core.c

Signed-off-by: Jonas Hörberg <jhorberg@sauer-danfoss.com>
This commit is contained in:
Jonas Hörberg
2011-04-28 09:17:57 +02:00
committed by Øyvind Harboe
parent 5c739b148e
commit e3f3f60a02
10 changed files with 11 additions and 53 deletions

View File

@@ -1505,11 +1505,6 @@ int zy1000_init(void)
/* deassert resets. Important to avoid infinite loop waiting for SRST to deassert */
zy1000_reset(0, 0);
int jtag_speed_var;
int retval = jtag_get_speed(&jtag_speed_var);
if (retval != ERROR_OK)
return retval;
zy1000_speed(jtag_speed_var);
#if BUILD_ZY1000_MASTER
#if BUILD_ECOSBOARD