X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Fcortex_a.c;h=21ce4fae83ee9bc8e7c444a891bffcfc3e2df566;hp=8985051ee8bbf5fee7088ccb10742abd7eb7bcaa;hb=42097baf19d4459a57f5224506e59a8347740f19;hpb=c584686fd1d1dc7d2059e619de90f35516598134 diff --git a/src/target/cortex_a.c b/src/target/cortex_a.c index 8985051ee8..21ce4fae83 100644 --- a/src/target/cortex_a.c +++ b/src/target/cortex_a.c @@ -1297,6 +1297,9 @@ static int cortex_a_post_debug_entry(struct target *target) LOG_DEBUG("cp15_control_reg: %8.8" PRIx32, cortex_a->cp15_control_reg); cortex_a->cp15_control_reg_curr = cortex_a->cp15_control_reg; + if (!armv7a->is_armv7r) + armv7a_read_ttbcr(target); + if (armv7a->armv7a_mmu.armv7a_cache.info == -1) armv7a_identify_cache(target);