cfi: unsupported code paths now report and return error
commit9933fa334de551096674d4044ed7ac2152213e8b
authorØyvind Harboe <oyvind.harboe@zylin.com>
Fri, 28 Oct 2011 15:22:32 +0000 (28 17:22 +0200)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 31 Oct 2011 20:41:18 +0000 (31 20:41 +0000)
tree113bc2175b24b157556765186e48ab4e17e813c7
parent08815946f64ace39b2734dc1a8597d22505f0436
cfi: unsupported code paths now report and return error

found by clang, would have done something undefined and mysterious
later on.

Change-Id: If7d7aca8514575d229ed0b17378bf8b1bbf347c4
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Reviewed-on: http://openocd.zylin.com/133
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/flash/nor/cfi.c