]> git.sur5r.net Git - openocd/commitdiff
tcl/board: Add Diolan LPC4357-DB1 config
authorAndreas Färber <afaerber@suse.de>
Mon, 19 Oct 2015 22:37:42 +0000 (00:37 +0200)
committerFreddie Chopin <freddie.chopin@gmail.com>
Fri, 30 Oct 2015 13:15:31 +0000 (13:15 +0000)
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>
tcl/board/diolan_lpc4350-db1.cfg
tcl/board/diolan_lpc4357-db1.cfg [new file with mode: 0644]

index 8135bae2ec151b18252f2c176a6620a5af0e2816..bd48d9ba06aa5c92e7f13a5fb44381da6a1b0a57 100644 (file)
@@ -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 (file)
index 0000000..d24cfd0
--- /dev/null
@@ -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