diff options
author | Spencer Oliver <spen@spen-soft.co.uk> | 2012-02-05 12:03:04 +0000 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2012-02-06 11:00:36 +0000 |
commit | 374127301ec1d72033b9d573b72c7abdfd61990d (patch) | |
tree | b56f5f4bba1718f9ac482d1fabdff18f5d170196 /src/target/cortex_a.h | |
parent | de0130a0aad83c1ef692ee4d68ab996a8668424d (diff) |
build: cleanup src/target directory
Change-Id: Ia055b6d2b5f6449a38afd0539a8c66e7d7e0c059
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/430
Tested-by: jenkins
Diffstat (limited to 'src/target/cortex_a.h')
-rw-r--r-- | src/target/cortex_a.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/target/cortex_a.h b/src/target/cortex_a.h index e736857a..f34ea674 100644 --- a/src/target/cortex_a.h +++ b/src/target/cortex_a.h @@ -26,6 +26,7 @@ * Free Software Foundation, Inc., * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ + #ifndef CORTEX_A8_H #define CORTEX_A8_H @@ -44,8 +45,7 @@ #define CORTEX_A8_PADDRDBG_CPU_SHIFT 13 -struct cortex_a8_brp -{ +struct cortex_a8_brp { int used; int type; uint32_t value; @@ -53,8 +53,7 @@ struct cortex_a8_brp uint8_t BRPn; }; -struct cortex_a8_common -{ +struct cortex_a8_common { int common_magic; struct arm_jtag jtag_info; @@ -65,7 +64,7 @@ struct cortex_a8_common uint32_t cp15_control_reg; /* latest cp15 register value written and cpsr processor mode */ uint32_t cp15_control_reg_curr; - enum arm_mode curr_mode; + enum arm_mode curr_mode; /* Breakpoint register pairs */ @@ -84,8 +83,7 @@ struct cortex_a8_common static inline struct cortex_a8_common * target_to_cortex_a8(struct target *target) { - return container_of(target->arch_info, struct cortex_a8_common, - armv7a_common.arm); + return container_of(target->arch_info, struct cortex_a8_common, armv7a_common.arm); } #endif /* CORTEX_A8_H */ |