str9xpec: Find flash controller from the chain.
Find the flash controller by position since it is before the core, not after it. This fixes the problem that str9xpec enable_turbo (or any other str9xpec command) did not work. (See my post in http://forum.sparkfun.com/viewtopic.php?f=18&t=25542) Signed-off-by: Santeri Salko <santeri.salko@gmail.com>
This commit is contained in:
committed by
Øyvind Harboe
parent
11193c040c
commit
5b1efd0176
@@ -173,6 +173,7 @@ struct jtag_tap* jtag_all_taps(void);
|
||||
const char *jtag_tap_name(const struct jtag_tap *tap);
|
||||
struct jtag_tap* jtag_tap_by_string(const char* dotted_name);
|
||||
struct jtag_tap* jtag_tap_by_jim_obj(Jim_Interp* interp, Jim_Obj* obj);
|
||||
struct jtag_tap* jtag_tap_by_position(unsigned abs_position);
|
||||
struct jtag_tap* jtag_tap_next_enabled(struct jtag_tap* p);
|
||||
unsigned jtag_tap_count_enabled(void);
|
||||
unsigned jtag_tap_count(void);
|
||||
|
||||
Reference in New Issue
Block a user