summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@chromium.org>2015-05-28 12:12:13 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-07-09 01:17:52 +0000
commitb793546316544eb6cb48362ad91d60c42dbee9e4 (patch)
tree57eb355248b13a1165333261d3603efe1c4b9c44
parent4271b631a374549881c44203758fa2179d8b8179 (diff)
downloadchrome-ec-b793546316544eb6cb48362ad91d60c42dbee9e4.tar.gz
flash_ec: move openocd configs from chip/ to util/
Avoid duplicating servo configurations for every chip. BRANCH=none BUG=chrome-os-partner:22990 TEST=None. This is an intermediate step to make it clear what's happening. CQ-DEPEND=CL:273950 Change-Id: I448543b6ab9d39423955e8d2589b6035c59e838a Signed-off-by: Myles Watson <mylesgw@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/273906 Reviewed-by: Randall Spangler <rspangler@chromium.org>
-rw-r--r--chip/lm4/openocd/servo_v3.cfg13
-rw-r--r--chip/npcx/openocd/servo_v2.cfg13
-rw-r--r--util/openocd/lm4x_cmds.tcl (renamed from chip/lm4/openocd/lm4x_cmds.tcl)0
-rw-r--r--util/openocd/npcx.cfg (renamed from chip/npcx/openocd/npcx.cfg)0
-rw-r--r--util/openocd/npcx_chip.cfg (renamed from chip/npcx/openocd/jlink.cfg)0
-rw-r--r--util/openocd/npcx_cmds.tcl (renamed from chip/npcx/openocd/npcx_cmds.tcl)0
-rw-r--r--util/openocd/servo.cfg (renamed from chip/lm4/openocd/servo_v2.cfg)0
7 files changed, 0 insertions, 26 deletions
diff --git a/chip/lm4/openocd/servo_v3.cfg b/chip/lm4/openocd/servo_v3.cfg
deleted file mode 100644
index 39fb1bd639..0000000000
--- a/chip/lm4/openocd/servo_v3.cfg
+++ /dev/null
@@ -1,13 +0,0 @@
-telnet_port 4444
-gdb_port 3333
-gdb_memory_map enable
-gdb_flash_program enable
-
-interface ftdi
-ftdi_vid_pid 0x18d1 0x5004
-ftdi_layout_init 0x0c08 0x0f1b
-ftdi_layout_signal nTRST -data 0x0100 -noe 0x0400
-ftdi_layout_signal nSRST -data 0x0200 -noe 0x0800
-
-source [find target/stellaris.cfg]
-source [find lm4x_cmds.tcl]
diff --git a/chip/npcx/openocd/servo_v2.cfg b/chip/npcx/openocd/servo_v2.cfg
deleted file mode 100644
index 578e3f9c43..0000000000
--- a/chip/npcx/openocd/servo_v2.cfg
+++ /dev/null
@@ -1,13 +0,0 @@
-telnet_port 4444
-gdb_port 3333
-gdb_memory_map enable
-gdb_flash_program enable
-
-interface ftdi
-ftdi_vid_pid 0x18d1 0x5002
-ftdi_layout_init 0x0c08 0x0f1b
-ftdi_layout_signal nTRST -data 0x0100 -noe 0x0400
-ftdi_layout_signal nSRST -data 0x0200 -noe 0x0800
-
-source [find npcx.cfg]
-source [find npcx_cmds.tcl]
diff --git a/chip/lm4/openocd/lm4x_cmds.tcl b/util/openocd/lm4x_cmds.tcl
index 601d03e445..601d03e445 100644
--- a/chip/lm4/openocd/lm4x_cmds.tcl
+++ b/util/openocd/lm4x_cmds.tcl
diff --git a/chip/npcx/openocd/npcx.cfg b/util/openocd/npcx.cfg
index cd00715d72..cd00715d72 100644
--- a/chip/npcx/openocd/npcx.cfg
+++ b/util/openocd/npcx.cfg
diff --git a/chip/npcx/openocd/jlink.cfg b/util/openocd/npcx_chip.cfg
index 5294b733fd..5294b733fd 100644
--- a/chip/npcx/openocd/jlink.cfg
+++ b/util/openocd/npcx_chip.cfg
diff --git a/chip/npcx/openocd/npcx_cmds.tcl b/util/openocd/npcx_cmds.tcl
index a32afccf03..a32afccf03 100644
--- a/chip/npcx/openocd/npcx_cmds.tcl
+++ b/util/openocd/npcx_cmds.tcl
diff --git a/chip/lm4/openocd/servo_v2.cfg b/util/openocd/servo.cfg
index 7d8fd77f7c..7d8fd77f7c 100644
--- a/chip/lm4/openocd/servo_v2.cfg
+++ b/util/openocd/servo.cfg