From f537dc19385d32738b78d5a0995a13010d8346b8 Mon Sep 17 00:00:00 2001 From: dragonmux Date: Thu, 3 Aug 2023 08:15:11 +0100 Subject: [PATCH] adiv5: Re-applied 1026a0d2 which was accidentally regressed in #1184 --- src/target/adiv5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/target/adiv5.c b/src/target/adiv5.c index 33fda8b343c..013dbe59ff0 100644 --- a/src/target/adiv5.c +++ b/src/target/adiv5.c @@ -784,7 +784,7 @@ uint32_t adiv5_dp_read_dpidr(adiv5_debug_port_s *const dp) volatile uint32_t dpidr = 0; volatile exception_s e; TRY_CATCH (e, EXCEPTION_ALL) { - dpidr = adiv5_dp_read(dp, ADIV5_DP_DPIDR); + dpidr = adiv5_dp_low_access(dp, ADIV5_LOW_READ, ADIV5_DP_DPIDR, 0U); } if (e.type) return 0;