flash/nor/stm32lx: use 0 base to autodetect second bank location

Change-Id: I3c296b3e276fcd4d92e4180fc0d2133eebfcc240
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/2503
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
This commit is contained in:
Paul Fertser
2015-01-24 13:57:58 +03:00
committed by Spencer Oliver
parent 97c96ac13f
commit 873774992d
3 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -5,4 +5,4 @@ source [find target/stm32l1.cfg]
# Add the second flash bank.
set _FLASHNAME $_CHIPNAME.flash1
flash bank $_FLASHNAME stm32lx 0x8030000 0 0 0 $_TARGETNAME
flash bank $_FLASHNAME stm32lx 0 0 0 0 $_TARGETNAME