]> git.sur5r.net Git - openocd/commit
str9xpec: Find flash controller from the chain.
authorSanteri Salko <santeri.salko@gmail.com>
Thu, 13 Jan 2011 13:21:06 +0000 (15:21 +0200)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Fri, 14 Jan 2011 13:55:24 +0000 (14:55 +0100)
commit5b1efd0176c2e32a5f6766175e518ccfc45239a6
tree9fa4cc67baa6077bc050ddd144f5883066d3571b
parent11193c040cf0db5c64e7db808b10184aa8915aa3
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>
src/flash/nor/str9xpec.c
src/jtag/core.c
src/jtag/jtag.h