]> git.sur5r.net Git - openocd/commitdiff
board: introduce base config for TI BeagleBone family boards
authorMatthias Welwarsky <matthias@welwarsky.de>
Wed, 4 Nov 2015 10:25:51 +0000 (11:25 +0100)
committerFreddie Chopin <freddie.chopin@gmail.com>
Sun, 23 Apr 2017 20:34:34 +0000 (21:34 +0100)
This patch adds the file ti_beaglebone-base.cfg as the common base
configuration for all TI BeagleBone derived boards. It also modifies
ti_beaglebone.cfg to source the base board and only add the on-board
JTAG adapter. Lastly, it adds a file ti_beaglebone_black.cfg with
a suitable configuraton for the BeagleBone "Black" variant.

Change-Id: I40cacb8abed7bdb308929713891f7b5e5b685c95
Signed-off-by: Matthias Welwarsky <matthias@welwarsky.de>
Reviewed-on: http://openocd.zylin.com/3099
Tested-by: jenkins
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
tcl/board/ti_beaglebone-base.cfg [new file with mode: 0644]
tcl/board/ti_beaglebone.cfg
tcl/board/ti_beaglebone_black.cfg [new file with mode: 0644]

diff --git a/tcl/board/ti_beaglebone-base.cfg b/tcl/board/ti_beaglebone-base.cfg
new file mode 100644 (file)
index 0000000..82d3c31
--- /dev/null
@@ -0,0 +1,4 @@
+# AM335x Beaglebone family base configuration
+#  http://beagleboard.org/bone
+
+source [find target/am335x.cfg]
index 5d31d1d971e0bc88f4a405c1d6054b1ff719fb81..a54ad62752c13d737294e84bdcb295df834b5254 100644 (file)
@@ -6,8 +6,8 @@ source [find interface/ftdi/xds100v2.cfg]
 
 adapter_khz 16000
 
-source [find target/am335x.cfg]
-
 reset_config trst_and_srst
 
+source [find board/ti_beaglebone-base.cfg]
+
 
diff --git a/tcl/board/ti_beaglebone_black.cfg b/tcl/board/ti_beaglebone_black.cfg
new file mode 100644 (file)
index 0000000..79fc1e8
--- /dev/null
@@ -0,0 +1,8 @@
+# AM335x Beaglebone Black
+#  http://beagleboard.org/bone
+
+adapter_khz 1000
+
+reset_config trst_and_srst
+
+source [find board/ti_beaglebone-base.cfg]