Re: [PATCH V2 02/15] coresight: tmc: waiting for TMCReady bit before programming

From: Suzuki K Poulose
Date: Thu Apr 14 2016 - 13:05:28 EST


On 12/04/16 18:54, Mathieu Poirier wrote:
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@xxxxxxxxxx>
---

Reviewed-by: Suzuki K Poulose <suzuki.poulose@xxxxxxx>

Suzuki