Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

Commit 0a7e240

Browse files
committed
tms570: remove fprintf call
This was used for debugging only. Signed-off-by: Sean Cross <sean@xobs.io>
1 parent e9ace3a commit 0a7e240

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/target/ti_tms570.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ bool ti_tms570_probe(target_s *const target)
1919
{
2020
const uint32_t part_id = target_mem32_read32(target, TMS570_SYS_DEVID);
2121
if (!part_id || ((part_id & TMS570_SCM_DEVID_ID_MASK) != TMS570_SCM_REVID_ID_TMS570)) {
22-
fprintf(stderr, "Part ID 0x%08x was unrecognized\n", part_id);
22+
DEBUG_ERROR("Part ID 0x%08"PRIx32" was unrecognized\n", part_id);
2323
return false;
2424
}
25-
fprintf(stderr, "Part ID 0x%08x was recognized as a TMS570\n", part_id);
2625

2726
target->driver = "TMS570";
2827
target_add_ram32(target, TMS570_SRAM_BASE, TMS570_SRAM_SIZE);
2928
target_add_ram32(target, TMS570_SRAM_ECC_BASE, TMS570_SRAM_SIZE);
29+
3030
return true;
3131
}

0 commit comments

Comments
 (0)