flash: allow stm32f1x options_write args in any order92/992/2
authorSpencer Oliver <spen@spen-soft.co.uk>
Tue, 20 Nov 2012 16:05:46 +0000 (16:05 +0000)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Mon, 31 Dec 2012 19:08:25 +0000 (19:08 +0000)
commit6bd9e3b94f6c8b00ff171c1be241d8aa4bd83e9a
tree0ea0abdbea90d5a39c2e4a450f6917d2a7b30a70
parentbf2b0a03614ab8185eddb06c66e184b305b4fe75
flash: allow stm32f1x options_write args in any order

Currently we have to supply the arg's to this cmd in a set order, this
change fixes that issue.

Change-Id: I14a15732e1917a91009e1ac14fba39ca1523c739
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/992
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
src/flash/nor/stm32f1x.c