]> git.sur5r.net Git - openocd/commit
flash/nor/psoc4: fix protection on devices with 256k flash
authorTomas Vanek <vanekt@fbl.cz>
Wed, 21 Feb 2018 12:54:44 +0000 (13:54 +0100)
committerTomas Vanek <vanekt@fbl.cz>
Sat, 3 Mar 2018 09:41:52 +0000 (09:41 +0000)
commit8f1f912a7d2cb5777116056fc9d67aa2ea0c9467
tree80383606b3c005ec3a3c8475c561f3e248b2f1db
parent66686284311961cab48172b948180d2958eb6ae7
flash/nor/psoc4: fix protection on devices with 256k flash

Protection read and setting of the second flash macro did not work.
Tested on CY8CKIT-046

Change-Id: I67789399ad1e89bbfc23a95547ecca7753130701
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/4425
Tested-by: jenkins
src/flash/nor/psoc4.c