]> git.sur5r.net Git - openocd/commitdiff
Cortex-R: Force usage of physical memory read/write since there is no MMU
authorEvan Hunter <ehunter@broadcom.com>
Tue, 12 Jan 2016 18:32:18 +0000 (18:32 +0000)
committerPaul Fertser <fercerpav@gmail.com>
Thu, 8 Dec 2016 12:30:00 +0000 (12:30 +0000)
Change-Id: I69d6e6301ab66744258fe650a76c7241bebe00a8
Signed-off-by: Evan Hunter <ehunter@broadcom.com>
Reviewed-on: http://openocd.zylin.com/3203
Tested-by: jenkins
Reviewed-by: Girts Folkmanis <opensource@girts.me>
Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
Reviewed-by: Jiri Kastner <cz172638@gmail.com>
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
src/target/cortex_a.c

index 1f51c4e728dc7f96108ca19273d97384c52d14d1..91fa48e1adcc1e56aabb13a3b8e0ef7387a5f28a 100644 (file)
@@ -3522,8 +3522,8 @@ struct target_type cortexr4_target = {
        /* REVISIT allow exporting VFP3 registers ... */
        .get_gdb_reg_list = arm_get_gdb_reg_list,
 
-       .read_memory = cortex_a_read_memory,
-       .write_memory = cortex_a_write_memory,
+       .read_memory = cortex_a_read_phys_memory,
+       .write_memory = cortex_a_write_phys_memory,
 
        .checksum_memory = arm_checksum_memory,
        .blank_check_memory = arm_blank_check_memory,