forked from auracaster/openocd
ARM7TDMI uses the new inheritance/nesting scheme
Use target_to_arm7_9(), replacing needless pointer traversals. Also: remove now-useless contents of arm7tdmi struct; it's almost ready to be removed. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
This commit is contained in:
@@ -25,12 +25,11 @@
|
||||
|
||||
#include "embeddedice.h"
|
||||
|
||||
#define ARM7TDMI_COMMON_MAGIC 0x00a700a7
|
||||
|
||||
/* FIXME we don't really need a separate arm7tdmi struct any more...
|
||||
* remove it, the arm7/arm9 common struct suffices.
|
||||
*/
|
||||
typedef struct arm7tdmi_common_s
|
||||
{
|
||||
int common_magic;
|
||||
void *arch_info;
|
||||
arm7_9_common_t arm7_9_common;
|
||||
} arm7tdmi_common_t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user