X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Fcortex_m3.c;h=12f0eec15501694e618e9ea52d74d8b17a2f9f26;hp=6b015ca0f5e268660b9b2ed63b623dc06215f45e;hb=7269ba5eb6c4c0e3b8dfceba9d5f2c2f4dfc1618;hpb=d70d9634bf6ab73ec4f2ac1e77012785770b460a diff --git a/src/target/cortex_m3.c b/src/target/cortex_m3.c index 6b015ca0f5..12f0eec155 100644 --- a/src/target/cortex_m3.c +++ b/src/target/cortex_m3.c @@ -56,12 +56,6 @@ extern uint8_t armv7m_gdb_dummy_cpsr_value[]; extern reg_t armv7m_gdb_dummy_cpsr_reg; #endif -static int cortex_m3_has_mmu(struct target_s *target, bool *has_mmu) -{ - *has_mmu = false; - return ERROR_OK; -} - static int cortexm3_dap_read_coreregister_u32(swjdp_common_t *swjdp, uint32_t *value, int regnum) { @@ -1998,6 +1992,5 @@ target_type_t cortexm3_target = .register_commands = cortex_m3_register_commands, .target_create = cortex_m3_target_create, .init_target = cortex_m3_init_target, - .has_mmu = cortex_m3_has_mmu, .examine = cortex_m3_examine, };