#Written by: Michael Schwingen <rincewind@discworld.dascon.de>

reset_config trst_and_srst separate

jtag_nsrst_delay 100
jtag_ntrst_delay 100

#jtag scan chain
#format L IRC IRCM IDCODE (Length, IR Capture, IR capture Mask, IDCODE)
jtag_device 7 0x1 0x7f 0x7e

target  xscale big           0          ixp42x
[new_target_name] configure -event reset-init { script event/xba_revA3.script }


flash bank cfi 0x50000000 0x400000 2 2 0
working_area 0 0x20010000 0x8060 nobackup

init 
reset init
# set big endian mode
reg XSCALE_CTRL 0xF8
