From 8fb2baaa6b428bd50165f045749786c34857ab02 Mon Sep 17 00:00:00 2001 From: David Brownell Date: Thu, 5 Nov 2009 01:03:54 -0800 Subject: Cortex-M3: minor cleanup There's no reason to read which interrupts are enabled from the NVIC; that state isn't used. Plus, it's highly dynamic since firmware can change it at any time; remove the support for those state records. Remove duplicate definition of DWT_CTRL address; shrink a line. Signed-off-by: David Brownell --- src/target/cortex_m3.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/target/cortex_m3.h') diff --git a/src/target/cortex_m3.h b/src/target/cortex_m3.h index f4cefa78..a7074d36 100644 --- a/src/target/cortex_m3.h +++ b/src/target/cortex_m3.h @@ -60,8 +60,6 @@ #define FP_COMP6 0xE0002020 #define FP_COMP7 0xE0002024 -#define DWT_CTRL 0xE0001000 - /* DCB_DHCSR bit and field definitions */ #define DBGKEY (0xA05F << 16) #define C_DEBUGEN (1 << 0) @@ -160,10 +158,6 @@ typedef struct cortex_m3_common_s int dwt_comp_available; cortex_m3_dwt_comparator_t *dwt_comparator_list; - /* Interrupts */ - int intlinesnum; - uint32_t *intsetenable; - armv7m_common_t armv7m; void *arch_info; } cortex_m3_common_t; -- cgit v1.2.3