This is an automated email from Gerrit. Paul Fertser ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/2345
-- gerrit commit 2758a0e4f8a45249eb7f67d0472c59b103026dbe Author: Paul Fertser <[email protected]> Date: Tue Oct 14 18:06:20 2014 +0400 target/armv7a: use common arm_init_arch_info This makes Cortex-A targets use the same basic procedure as is used by all the other ARMs for consistency; fixes "arm reg" for Cortex-A. Change-Id: Id7269b392d1105c477fe993b98d14e5b11979a10 Signed-off-by: Paul Fertser <[email protected]> diff --git a/src/target/armv7a.c b/src/target/armv7a.c index 57b8799..568f7ae 100644 --- a/src/target/armv7a.c +++ b/src/target/armv7a.c @@ -797,16 +797,13 @@ int armv7a_init_arch_info(struct target *target, struct armv7a_common *armv7a) { struct arm *arm = &armv7a->arm; arm->arch_info = armv7a; - target->arch_info = &armv7a->arm; /* target is useful in all function arm v4 5 compatible */ - armv7a->arm.target = target; - armv7a->arm.common_magic = ARM_COMMON_MAGIC; armv7a->common_magic = ARMV7_COMMON_MAGIC; armv7a->armv7a_mmu.armv7a_cache.l2_cache = NULL; armv7a->armv7a_mmu.armv7a_cache.ctype = -1; armv7a->armv7a_mmu.armv7a_cache.flush_all_data_cache = NULL; armv7a->armv7a_mmu.armv7a_cache.display_cache_info = NULL; - return ERROR_OK; + return arm_init_arch_info(target, arm); } int armv7a_arch_state(struct target *target) -- ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
