summaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2010-01-20 10:46:53 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2010-01-20 10:46:53 -0800
commit22d25e69213c49395ee0d40f6cc1eda935873ed2 (patch)
tree86dd9866e2d78b0ea97073c762f3de7c974696b1 /tcl
parent6f2b88448fff59d00f625d0d361a7b9abf6bd673 (diff)
downloadopenocd+libswd-22d25e69213c49395ee0d40f6cc1eda935873ed2.tar.gz
openocd+libswd-22d25e69213c49395ee0d40f6cc1eda935873ed2.tar.bz2
openocd+libswd-22d25e69213c49395ee0d40f6cc1eda935873ed2.tar.xz
openocd+libswd-22d25e69213c49395ee0d40f6cc1eda935873ed2.zip
board configs -- unique names for flash chips
Don't give the same names to both flash chips on two OMAP boards. For OSK, enable DCC downloads (removing a warning). Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'tcl')
-rw-r--r--tcl/board/omap2420_h4.cfg6
-rw-r--r--tcl/board/osk5912.cfg8
2 files changed, 6 insertions, 8 deletions
diff --git a/tcl/board/omap2420_h4.cfg b/tcl/board/omap2420_h4.cfg
index 12efa053..d789e253 100644
--- a/tcl/board/omap2420_h4.cfg
+++ b/tcl/board/omap2420_h4.cfg
@@ -8,7 +8,5 @@ reset_config trst_and_srst separate
# Board configs can vary a *LOT* ... parts, jumpers, etc.
# This GP board boots from cs0 using NOR (2x32M), and also
# has 64M NAND on cs6.
-set _FLASHNAME $_CHIPNAME.flash
-flash bank $_FLASHNAME cfi 0x04000000 0x02000000 2 2 $_TARGETNAME
-set _FLASHNAME $_CHIPNAME.flash
-flash bank $_FLASHNAME cfi 0x06000000 0x02000000 2 2 $_TARGETNAME
+flash bank h4.u10 cfi 0x04000000 0x02000000 2 2 $_TARGETNAME
+flash bank h4.u11 cfi 0x06000000 0x02000000 2 2 $_TARGETNAME
diff --git a/tcl/board/osk5912.cfg b/tcl/board/osk5912.cfg
index c33ae285..f4378f8c 100644
--- a/tcl/board/osk5912.cfg
+++ b/tcl/board/osk5912.cfg
@@ -19,10 +19,8 @@ etm_dummy config $_TARGETNAME
# standard boards populate two 16 MB chips, but manufacturing
# options or an expansion board could change this config.
-set _FLASHNAME $_CHIPNAME.flash
-flash bank $_FLASHNAME cfi 0x00000000 0x01000000 2 2 $_TARGETNAME
-set _FLASHNAME $_CHIPNAME.flash
-flash bank $_FLASHNAME cfi 0x01000000 0x01000000 2 2 $_TARGETNAME
+flash bank osk.u1 cfi 0x00000000 0x01000000 2 2 $_TARGETNAME
+flash bank osk.u2 cfi 0x01000000 0x01000000 2 2 $_TARGETNAME
proc osk5912_init {} {
omap5912_reset
@@ -32,3 +30,5 @@ proc osk5912_init {} {
flash probe 1
}
$_TARGETNAME configure -event reset-init { osk5912_init }
+
+arm7_9 dcc_downloads enable