tcl/target/fm3.cfg: use a CHIPNAME known by the flash driver
fm3 flash driver needs to know which chip variant is used. This fixes "unknown fm3 variant: mb9bf500.cpu" error if the config is used as is. Change-Id: I500fcfb413f23ee246678cec5bd19d14139a28e2 Signed-off-by: Paul Fertser <fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/2160 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
This commit is contained in:
parent
98443c6a4c
commit
8878673aa9
|
@ -1,10 +1,10 @@
|
||||||
# MB96F506
|
# MB9BF506
|
||||||
# Fujitsu Cortex-M3 with 512kB Flash and 64kB RAM
|
# Fujitsu Cortex-M3 with 512kB Flash and 64kB RAM
|
||||||
|
|
||||||
if { [info exists CHIPNAME] } {
|
if { [info exists CHIPNAME] } {
|
||||||
set _CHIPNAME $CHIPNAME
|
set _CHIPNAME $CHIPNAME
|
||||||
} else {
|
} else {
|
||||||
set _CHIPNAME mb9bf500
|
set _CHIPNAME mb9bfxx6
|
||||||
}
|
}
|
||||||
|
|
||||||
if { [info exists ENDIAN] } {
|
if { [info exists ENDIAN] } {
|
||||||
|
|
Loading…
Reference in New Issue