target/riscv: Add debug msg to reset_delays_wait

Makes it easier when reading debug logs.

Change-Id: I3938437357e0d74e1cda680693f907a20c5579c7
Signed-off-by: Tim Newsome <tim@sifive.com>
This commit is contained in:
Tim Newsome 2023-06-02 16:10:54 -07:00
parent 2a64da39b0
commit 866282ba9e
1 changed files with 1 additions and 0 deletions

View File

@ -474,6 +474,7 @@ static dmi_status_t dmi_scan(struct target *target, uint32_t *address_in,
if (r->reset_delays_wait >= 0) {
r->reset_delays_wait--;
if (r->reset_delays_wait < 0) {
LOG_TARGET_DEBUG(target, "reset_delays_wait done");
info->dmi_busy_delay = 0;
info->ac_busy_delay = 0;
}