X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=tcl%2Fboard%2Ftopasa900.cfg;h=4fa63831bcc5a182815d7656c8fb82c3e3bb3d33;hb=fc74ccda52eced1f7be9fc99f071b0f47a7044ea;hp=a8a6caf6652a4c47696a2f313c7b4b6bb5f4cc54;hpb=d70d9634bf6ab73ec4f2ac1e77012785770b460a;p=fw%2Fopenocd
diff --git a/tcl/board/topasa900.cfg b/tcl/board/topasa900.cfg
index a8a6caf66..4fa63831b 100644
--- a/tcl/board/topasa900.cfg
+++ b/tcl/board/topasa900.cfg
@@ -37,7 +37,7 @@ proc topasa900_init { } {
# Init SDRAM
# _PMCDRV = 0x00000071;
# //
-# // Initialize SDRAM timing paramater
+# // Initialize SDRAM timing parameter
# //
# _DMC_CAS_LATENCY = 0x00000006;
# _DMC_T_DQSS = 0x00000000;
@@ -105,7 +105,7 @@ proc topasa900_init { } {
mww 0xf4300004 0x00000000
sleep 10
-# jtag_khz NNNN
+# adapter speed NNNN
# remap off in case of IROM boot
mww 0xf0000004 0x00000001
@@ -113,13 +113,13 @@ proc topasa900_init { } {
}
# comment the following out if usinf J-Link, it soes not support DCC
-arm7_9 dcc_downloads enable # Enable faster DCC downloads
+arm7_9 dcc_downloads enable ;# Enable faster DCC downloads
#####################
# Flash configuration
#####################
-#flash bank cfi
-flash bank cfi 0x20000000 0x1000000 2 2 0
-
+#flash bank cfi
+set _FLASHNAME $_CHIPNAME.flash
+flash bank $_FLASHNAME cfi 0x20000000 0x1000000 2 2 $_TARGETNAME