]> git.sur5r.net Git - openocd/commit
stm32: fix unprotect
authorØyvind Harboe <oyvind.harboe@zylin.com>
Tue, 14 Dec 2010 08:26:08 +0000 (09:26 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Wed, 15 Dec 2010 08:48:37 +0000 (09:48 +0100)
commit969b1e66dd46fff70168a69dbd4beaaa18ccb490
treef6c1f923b6047242ad142341ace220f1745b14cd
parent39dbb516a4489c6a934669876774ebc711a0b781
stm32: fix unprotect

the unprotect fn in stm32 needs to unprotect more sectors
than was requested aligned to some boundary.

Print warning when this happens.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/flash/nor/stm32x.c