Remove FSF address from GPL notices
[openocd.git] / src / jtag / zy1000 / jtag_minidriver.h
index ac6da53632445745590855dc57c4d197bfb04423..7d1ede5d48f24f49ce6383bc9cc7529abc135976 100644 (file)
@@ -12,9 +12,7 @@
  *   GNU General Public License for more details.                          *
  *                                                                         *
  *   You should have received a copy of the GNU General Public License     *
- *   along with this program; if not, write to the                         *
- *   Free Software Foundation, Inc.,                                       *
- *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
+ *   along with this program.  If not, see <http://www.gnu.org/licenses/>. *
  ***************************************************************************/
 
 /* used to test manual mode */
@@ -169,52 +167,6 @@ static inline void shiftValueInner(const enum tap_state state,
 #endif
 }
 
-static inline void interface_jtag_add_dr_out_core(struct jtag_tap *target_tap,
-       int num_fields,
-       const int *num_bits,
-       const uint32_t *value,
-       enum tap_state end_state)
-{
-       enum tap_state pause_state = TAP_DRSHIFT;
-
-       struct jtag_tap *tap, *nextTap;
-       for (tap = jtag_tap_next_enabled(NULL); tap != NULL; tap = nextTap) {
-               nextTap = jtag_tap_next_enabled(tap);
-               if (nextTap == NULL)
-                       pause_state = end_state;
-               if (tap == target_tap) {
-                       int j;
-                       for (j = 0; j < (num_fields-1); j++)
-                               shiftValueInner(TAP_DRSHIFT, TAP_DRSHIFT, num_bits[j], value[j]);
-                       shiftValueInner(TAP_DRSHIFT, pause_state, num_bits[j], value[j]);
-               } else {
-                       /* program the scan field to 1 bit length, and ignore it's value */
-                       shiftValueInner(TAP_DRSHIFT, pause_state, 1, 0);
-               }
-       }
-}
-
-static inline void interface_jtag_add_dr_out(struct jtag_tap *target_tap,
-       int num_fields,
-       const int *num_bits,
-       const uint32_t *value,
-       enum tap_state end_state)
-{
-
-       int singletap = (jtag_tap_next_enabled(jtag_tap_next_enabled(NULL)) == NULL);
-       if ((singletap) && (num_fields == 3)) {
-               /* used by embeddedice_write_reg_inner() */
-               shiftValueInner(TAP_DRSHIFT, TAP_DRSHIFT, num_bits[0], value[0]);
-               shiftValueInner(TAP_DRSHIFT, TAP_DRSHIFT, num_bits[1], value[1]);
-               shiftValueInner(TAP_DRSHIFT, end_state, num_bits[2], value[2]);
-       } else if ((singletap) && (num_fields == 2)) {
-               /* used by arm7 code */
-               shiftValueInner(TAP_DRSHIFT, TAP_DRSHIFT, num_bits[0], value[0]);
-               shiftValueInner(TAP_DRSHIFT, end_state, num_bits[1], value[1]);
-       } else
-               interface_jtag_add_dr_out_core(target_tap, num_fields, num_bits, value, end_state);
-}
-
 #if BUILD_ZY1000_MASTER
 #define interface_jtag_add_callback(callback, in) callback(in)
 #define interface_jtag_add_callback4(callback, in, data1, data2, \

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)