rename "swjdp_common" as "adiv5_dap"
This partially corrects an inappropriate name choice (and its
associated FIXME).
There are still too many variables named "swjdp", bug little
current code actually relies on them referencing an SWJ-DP instead
of some other flavor of DAP. Only the two new dap_to{swd,jtag}()
calls could behave differently on an SWJ-DP instead of a SW-DP or
a JTAG-DP.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
This commit is contained in:
+1
-1
@@ -106,7 +106,7 @@ struct armv7m_common
|
||||
struct reg_cache *core_cache;
|
||||
enum armv7m_mode core_mode;
|
||||
int exception_number;
|
||||
struct swjdp_common swjdp_info;
|
||||
struct adiv5_dap swjdp_info;
|
||||
|
||||
uint32_t demcr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user