From 22143c9543fdf3584a626d6a7f0349f44f6a5058 Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Wed, 13 Jul 2016 11:02:13 -0700 Subject: [PATCH] JTAG: Remove unused methods. --- firmware/common/cpld_max5.hpp | 5 ----- firmware/common/jtag.hpp | 21 --------------------- 2 files changed, 26 deletions(-) diff --git a/firmware/common/cpld_max5.hpp b/firmware/common/cpld_max5.hpp index 6a206b64..98bf96d8 100644 --- a/firmware/common/cpld_max5.hpp +++ b/firmware/common/cpld_max5.hpp @@ -94,11 +94,6 @@ public: shift_ir(static_cast(instruction)); } - template - void shift_dr(std::bitset& bits) { - jtag.shift_dr(bits); - } - private: jtag::JTAG& jtag; diff --git a/firmware/common/jtag.hpp b/firmware/common/jtag.hpp index 57d258ac..d0f72035 100644 --- a/firmware/common/jtag.hpp +++ b/firmware/common/jtag.hpp @@ -90,27 +90,6 @@ public: return result; } - template - void shift_dr(std::bitset& bits) { - /* Run-Test/Idle -> Select-DR-Scan */ - target.clock(1, 0); - /* Scan -> Capture -> Shift */ - target.clock(0, 0); - target.clock(0, 0); - - for(size_t i=0; i Update */ - target.clock(1, 0); - /* Update -> Run-Test/Idle */ - target.clock(0, 0); - } - private: Target& target;