aboutsummaryrefslogtreecommitdiff
path: root/tcl/board
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2015-10-20 00:37:42 +0200
committerFreddie Chopin <freddie.chopin@gmail.com>2015-10-30 13:15:31 +0000
commit94c82d16bd46db9f4a964a62024bcd37a4a70dfe (patch)
tree844215468ca3ba0e819fef9211907c6fc72115cf /tcl/board
parent2cbbe9abf5dab934bf7abd6f4e0a3f8f9dec81f0 (diff)
downloadriscv-openocd-94c82d16bd46db9f4a964a62024bcd37a4a70dfe.zip
riscv-openocd-94c82d16bd46db9f4a964a62024bcd37a4a70dfe.tar.gz
riscv-openocd-94c82d16bd46db9f4a964a62024bcd37a4a70dfe.tar.bz2
tcl/board: Add Diolan LPC4357-DB1 config
Adapted from diolan_lpc4350-db1.cfg. Both boards are identical except for the SoC, so keep them in sync. Change-Id: If892d8e953b0e3a9209a95b3b23a547357c10b7a Signed-off-by: Andreas Färber <afaerber@suse.de> Reviewed-on: http://openocd.zylin.com/3038 Tested-by: jenkins Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
Diffstat (limited to 'tcl/board')
-rw-r--r--tcl/board/diolan_lpc4350-db1.cfg3
-rw-r--r--tcl/board/diolan_lpc4357-db1.cfg9
2 files changed, 11 insertions, 1 deletions
diff --git a/tcl/board/diolan_lpc4350-db1.cfg b/tcl/board/diolan_lpc4350-db1.cfg
index 8135bae..bd48d9b 100644
--- a/tcl/board/diolan_lpc4350-db1.cfg
+++ b/tcl/board/diolan_lpc4350-db1.cfg
@@ -1,4 +1,3 @@
-
#
# Diolan LPC-4350-DB1 development board
#
@@ -6,3 +5,5 @@
set CHIPNAME lpc4350
source [find target/lpc4350.cfg]
+
+flash bank $_CHIPNAME.nor cfi 0x1C000000 0x00200000 2 2 $_CHIPNAME.m4
diff --git a/tcl/board/diolan_lpc4357-db1.cfg b/tcl/board/diolan_lpc4357-db1.cfg
new file mode 100644
index 0000000..d24cfd0
--- /dev/null
+++ b/tcl/board/diolan_lpc4357-db1.cfg
@@ -0,0 +1,9 @@
+#
+# Diolan LPC-4357-DB1 development board
+#
+
+set CHIPNAME lpc4357
+
+source [find target/lpc4357.cfg]
+
+flash bank $_CHIPNAME.nor cfi 0x1C000000 0x00200000 2 2 $_CHIPNAME.m4