summaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorMathieu Poirier <mathieu.poirier@linaro.org>2016-05-03 11:33:45 -0600
committerMathieu Poirier <mathieu.poirier@linaro.org>2016-06-01 15:46:30 -0600
commit66c6e1177cfae0532c63b465bea65afaef289531 (patch)
treebad626e78f49db3156d97b89a4eff94d31b69b18 /lib/test-string_helpers.c
parent43dc4e87f80f767136de5a6d8f5649f6195b9faa (diff)
coresight: tmc: waiting for TMCReady bit before programming
According to the TRM before programming the TMC in circular buffer mode (and that for any configuration, ETB, ETR, ETF), the TMCReady bit in the status register has to be set. This patch adds a check to make sure the state machine is in a state where it can be configured, and complains otherwise. Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commit 358f42184e97f9a216b927a5a744597b98e0eee1)
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions