Skip to content

Commit

Permalink
adiv5: Re-applied 1026a0d which was accidentally regressed in #1184
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonmux committed Aug 3, 2023
1 parent 10d5848 commit f537dc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/target/adiv5.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f537dc1

Please sign in to comment.