summaryrefslogtreecommitdiff
path: root/tcl/board/dm355evm.cfg
diff options
context:
space:
mode:
authordbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-09-26 22:08:50 +0000
committerdbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-09-26 22:08:50 +0000
commit5c3c4af88f56b4c6301ed2f428e263a844c47baa (patch)
tree9f3aa9c8884967299220b562cf415e8072f7e3b4 /tcl/board/dm355evm.cfg
parent2329ae93062aedcc5840851c98e1719edf9fe0bb (diff)
downloadopenocd+libswd-5c3c4af88f56b4c6301ed2f428e263a844c47baa.tar.gz
openocd+libswd-5c3c4af88f56b4c6301ed2f428e263a844c47baa.tar.bz2
openocd+libswd-5c3c4af88f56b4c6301ed2f428e263a844c47baa.tar.xz
openocd+libswd-5c3c4af88f56b4c6301ed2f428e263a844c47baa.zip
On DM355 EVM board, associate NAND chips with $_TARGETNAME
instead of a target number. git-svn-id: svn://svn.berlios.de/openocd/trunk@2761 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'tcl/board/dm355evm.cfg')
-rw-r--r--tcl/board/dm355evm.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcl/board/dm355evm.cfg b/tcl/board/dm355evm.cfg
index bb745005..8b126fa1 100644
--- a/tcl/board/dm355evm.cfg
+++ b/tcl/board/dm355evm.cfg
@@ -191,8 +191,8 @@ proc dm355evm_init {} {
# you either (a) have 'new' DM355 chips, with boot ROMs that don't need to
# use "hwecc4_infix" for the UBL; or else (b) aren't updating anything that
# needs infix layout ... like an old UBL, old U-Boot, old MVL kernel, etc.
-nand device davinci 0 0x02000000 hwecc4 0x01e10000
-nand device davinci 0 0x02004000 hwecc4 0x01e10000
+nand device davinci $_TARGETNAME 0x02000000 hwecc4 0x01e10000
+nand device davinci $_TARGETNAME 0x02004000 hwecc4 0x01e10000
# FIXME
# - support writing UBL with its header (new layout only with new ROMs)