ARM ADIv5: "dap info" gets more readable
commitddade10d4a9309ea252b0a03cde9f757b5c71778
authorDavid Brownell <dbrownell@users.sourceforge.net>
Mon, 26 Oct 2009 23:02:45 +0000 (26 16:02 -0700)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Mon, 26 Oct 2009 23:02:45 +0000 (26 16:02 -0700)
tree0143c1d1ae28a4516a9250d654c8432f0bcffd66
parent8f3b28ff4199a64d6f7aff1584a48f18661969ae
ARM ADIv5: "dap info" gets more readable

Make the "dap info" output more comprehensible:

 - Don't show CIDs unless they're incorrect (only four bits matter)
 - For CoreSight parts, interpret the part type
 - Interpret the part number
 - Show all five PID bytes together
 - Other minor cleanups

Also some whitespace fixes, and shrink a few overlong source lines.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
src/target/arm_adi_v5.c