ARM: other code uses the new inheritance/nesting scheme

Remove most remaining uses of target->arch_info from ARM
infrastructure, where it hasn't already been updated.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
This commit is contained in:
David Brownell
2009-11-05 22:04:22 -08:00
parent a81df55f39
commit 03ac53a2cf
6 changed files with 78 additions and 104 deletions

View File

@@ -410,8 +410,7 @@ int etm_setup(target_t *target)
{
int retval;
uint32_t etm_ctrl_value;
armv4_5_common_t *armv4_5 = target->arch_info;
arm7_9_common_t *arm7_9 = armv4_5->arch_info;
struct arm7_9_common_s *arm7_9 = target_to_arm7_9(target);
etm_context_t *etm_ctx = arm7_9->etm_ctx;
reg_t *etm_ctrl_reg;