diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-12-19 13:07:25 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2009-12-19 13:07:25 -0800 |
commit | e25819645ee2beb0818a79006eed9c9cedaaf5bb (patch) | |
tree | 68b71132efccba4167344852dea1c55878186ab1 /NEWS | |
parent | 9abad965ab358c1d598f1354842967cad637b284 (diff) | |
download | openocd_libswd-e25819645ee2beb0818a79006eed9c9cedaaf5bb.tar.gz openocd_libswd-e25819645ee2beb0818a79006eed9c9cedaaf5bb.tar.bz2 openocd_libswd-e25819645ee2beb0818a79006eed9c9cedaaf5bb.tar.xz openocd_libswd-e25819645ee2beb0818a79006eed9c9cedaaf5bb.zip |
ETM: start cleaning up ETM_CTRL bit handling
Provide better comments for the ETM_CTRL bits; use the correct bit
for half/full clock mode; and define a few more of the bits available
from the earliest ETM versions.
The new bit defintions use ETM_CTRL_* names to match their register
(instead of ETM_PORT_* or ETMV1_*). For clarity, and better matching
to docs, they are defined with bitshifting not pre-computed masks.
Stop abusing typdefs for ETM_CTRL values; such values are not limited
to the enumerated set of individual bit values.
Rename etm->portmode to etm->control ... and start morphing it into a
single generic shadow of ETM_CTRL. Eventually etm->tracemode should
vanish, so we can just write etm->control to ETM_CTRL.
Restore an "if" that somehow got dropped.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions