]> git.sur5r.net Git - openocd/commit
flash/nor: make all working area pointers local
authorAndreas Fritiofson <andreas.fritiofson@gmail.com>
Sun, 30 Sep 2012 21:01:51 +0000 (23:01 +0200)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 8 Oct 2012 10:25:15 +0000 (10:25 +0000)
commit4da4e1cfb7d93dcedc333c11c787b83b8baf7dfa
treee19fc859bab81a52e7c52c9b8c502e10ef89bbcf
parent9fe0457c5167062cae1ff13b5aa6e10116eec537
flash/nor: make all working area pointers local

Working area pointers shouldn't be re-used, so there's no point in storing
them in the flash bank struct. Make all such pointers local.

Change-Id: Iab65b4e8b475fed7fc72fb8928f54590fa69d260
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/865
Tested-by: jenkins
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/flash/nor/aduc702x.c
src/flash/nor/cfi.c
src/flash/nor/cfi.h
src/flash/nor/em357.c
src/flash/nor/fm3.c
src/flash/nor/pic32mx.c
src/flash/nor/stm32f1x.c
src/flash/nor/stm32f2x.c
src/flash/nor/stm32lx.c
src/flash/nor/str7x.c
src/flash/nor/str9x.c