X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=tcl%2Ftarget%2Fxba_revA3.cfg;h=9d258a52118762fd6811286e654b498e4f83c4a1;hp=202ed6082cf09d5437e6303f559db3d983b0053e;hb=f86137066a6b42c46c457c9837a8015990bf71e6;hpb=ce89c7bf6588c7b2800c4ca453278b6f94795130 diff --git a/tcl/target/xba_revA3.cfg b/tcl/target/xba_revA3.cfg index 202ed6082c..9d258a5211 100644 --- a/tcl/target/xba_revA3.cfg +++ b/tcl/target/xba_revA3.cfg @@ -1,14 +1,14 @@ #Written by: Michael Schwingen -if { [info exists CHIPNAME] } { - set _CHIPNAME $CHIPNAME -} else { +if { [info exists CHIPNAME] } { + set _CHIPNAME $CHIPNAME +} else { set _CHIPNAME xba_reva3 } -if { [info exists ENDIAN] } { - set _ENDIAN $ENDIAN -} else { +if { [info exists ENDIAN] } { + set _ENDIAN $ENDIAN +} else { # default to big endian set _ENDIAN big } @@ -76,12 +76,12 @@ $_TARGETNAME configure -event reset-init { flash probe 0 } -$_TARGETNAME configure -work-area-virt 0 -work-area-phys 0x20010000 -work-area-size 0x8060 -work-area-backup 0 +$_TARGETNAME configure -work-area-phys 0x20010000 -work-area-size 0x8060 -work-area-backup 0 -flash bank cfi 0x50000000 0x400000 2 2 0 +flash bank cfi 0x50000000 0x400000 2 2 $_TARGETNAME -init +init reset init # set big endian mode reg XSCALE_CTRL 0xF8