This is an automated email from Gerrit. Alex Ray ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/2096
-- gerrit commit c1fb9d05c679b5cc619d1eb66a985e56adb449b0 Author: Alex Ray <[email protected]> Date: Sun Apr 6 07:34:27 2014 -0700 Disable multiprocessor-id read on ARMv7-R cores ARMv7-R cores are largely uniprocessor-configured, and when they are multiprocessor-configured the format of the MPIDR register isn't compatible with ARMv7-A cores. Change-Id: I024ec514496fbab5075c6fb34b6acd870e68e1fc Signed-off-by: Alex Ray <[email protected]> diff --git a/src/target/armv7a.c b/src/target/armv7a.c index bfe4ef4..9ef7cc6 100644 --- a/src/target/armv7a.c +++ b/src/target/armv7a.c @@ -545,7 +545,7 @@ static int armv7a_read_mpidr(struct target *target) &mpidr); if (retval != ERROR_OK) goto done; - if (mpidr & 1<<31) { + if (mpidr & 1<<31 && !armv7a->is_armv7r) { armv7a->multi_processor_system = (mpidr >> 30) & 1; armv7a->cluster_id = (mpidr >> 8) & 0xf; armv7a->cpu_id = mpidr & 0x3; -- ------------------------------------------------------------------------------ _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
