From 288620551f6363a375329f497b774cac2033b70a Mon Sep 17 00:00:00 2001 From: Uwe Bonnes Date: Thu, 23 Jan 2020 23:36:37 +0100 Subject: [PATCH] adiv5: Print out SYSROM PIDR. We need to know more about what devices indicate proper PIDR and what devices fail to do so. --- src/target/adiv5.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/target/adiv5.c b/src/target/adiv5.c index 9b74c87..5369eee 100644 --- a/src/target/adiv5.c +++ b/src/target/adiv5.c @@ -308,8 +308,8 @@ static bool adiv5_component_probe(ADIv5_AP_t *ap, uint32_t addr, int recursion, DEBUG("Fault reading ROM table entry\n"); } - DEBUG("ROM: Table BASE=0x%"PRIx32" SYSMEM=0x%"PRIx32"\n", - addr, memtype); + DEBUG("ROM: Table BASE=0x%"PRIx32" SYSMEM=0x%"PRIx32", PIDR 0x%010" + PRIx64 "\n", addr, memtype, pidr); #endif for (int i = 0; i < 960; i++) {