diff options
author | Anthony Ferranti <ferranti@os.amperecomputing.com> | 2020-04-01 15:46:30 -0400 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2021-03-10 21:27:01 +0000 |
commit | cc9e3c2f7b04ba6da7e3b69161d78896c58503bd (patch) | |
tree | 483065b59b75ca4985e9b95c03975fbf698dc3e8 /tcl/board | |
parent | 7e16194828a38382d4cf80604cd547b884f4ad97 (diff) | |
download | riscv-openocd-cc9e3c2f7b04ba6da7e3b69161d78896c58503bd.zip riscv-openocd-cc9e3c2f7b04ba6da7e3b69161d78896c58503bd.tar.gz riscv-openocd-cc9e3c2f7b04ba6da7e3b69161d78896c58503bd.tar.bz2 |
eMAG: Add Ampere eMAG config files
Add board and target configuration files for
Ampere eMAG8180 board and Ampere eMAG processor.
Tested on an Ampere eMAG8180 development platform.
Change-Id: I222653f0fc12d25202a7e469db3594076cbc38ed
Signed-off-by: Anthony Ferranti <ferranti@os.amperecomputing.com>
Signed-off-by: Daniel Goehring <dgoehrin@os.amperecomputing.com>
Reviewed-on: http://openocd.zylin.com/5569
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'tcl/board')
-rw-r--r-- | tcl/board/ampere_emag8180.cfg | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/tcl/board/ampere_emag8180.cfg b/tcl/board/ampere_emag8180.cfg new file mode 100644 index 0000000..a122e02 --- /dev/null +++ b/tcl/board/ampere_emag8180.cfg @@ -0,0 +1,38 @@ +# +# OpenOCD Board Configuration for eMAG Development Platform +# +# Copyright (c) 2019-2021, Ampere Computing LLC +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; +# +# + +# +# Configure JTAG speed +# + +adapter speed 2000 + +# +# Configure Resets +# + +jtag_ntrst_delay 100 +reset_config trst_only + +# +# Configure Targets +# + +source [find target/ampere_emag.cfg] |