]> git.sur5r.net Git - openocd/commit
cfi: fix cfi arch check regression
authorSpencer Oliver <spen@spen-soft.co.uk>
Thu, 3 May 2012 15:34:16 +0000 (16:34 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 14 May 2012 09:29:43 +0000 (09:29 +0000)
commite95f8d93f2ae92d7226be947ca5c963bf879c18e
tree42866d657a8021366cb8d0ff11b14d3d940b8f07
parentca53849045b9d505a13d9ec98ff6e58ce13b14f0
cfi: fix cfi arch check regression

seems 9933fa334de551096674d4044ed7ac2152213e8b introduce a regression
if the target was anything other than armv4_5 or armv7m.

Just check that we have an arm target.

Change-Id: I67c05138e5be2952ee92e9bfa15e1d050844462a
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/615
Tested-by: jenkins
Reviewed-by: Aurelien Jacobs <aurel@gnuage.org>
src/flash/nor/cfi.c