aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/target/cortex_a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/cortex_a.c b/src/target/cortex_a.c
index b15dcb41..e4d8331b 100644
--- a/src/target/cortex_a.c
+++ b/src/target/cortex_a.c
@@ -3229,7 +3229,7 @@ static int cortex_a_virt2phys(struct target *target,
struct armv7a_common *armv7a = target_to_armv7a(target);
struct adiv5_dap *swjdp = armv7a->arm.dap;
uint8_t apsel = swjdp->apsel;
- int mmu_enabled;
+ int mmu_enabled = 0;
/*
* If the MMU was not enabled at debug entry, there is no