diff options
Diffstat (limited to 'arch/arm/mach-omap2/include')
-rw-r--r-- | arch/arm/mach-omap2/include/mach/debug-macro.S | 8 | ||||
-rw-r--r-- | arch/arm/mach-omap2/include/mach/omap-wakeupgen.h | 7 |
2 files changed, 11 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/include/mach/debug-macro.S b/arch/arm/mach-omap2/include/mach/debug-macro.S index d7f844a99a7b..93d10de7129f 100644 --- a/arch/arm/mach-omap2/include/mach/debug-macro.S +++ b/arch/arm/mach-omap2/include/mach/debug-macro.S | |||
@@ -60,12 +60,12 @@ omap_uart_lsr: .word 0 | |||
60 | beq 23f @ configure OMAP2UART3 | 60 | beq 23f @ configure OMAP2UART3 |
61 | cmp \rp, #OMAP3UART3 @ only on 34xx | 61 | cmp \rp, #OMAP3UART3 @ only on 34xx |
62 | beq 33f @ configure OMAP3UART3 | 62 | beq 33f @ configure OMAP3UART3 |
63 | cmp \rp, #OMAP4UART3 @ only on 44xx | 63 | cmp \rp, #OMAP4UART3 @ only on 44xx/54xx |
64 | beq 43f @ configure OMAP4UART3 | 64 | beq 43f @ configure OMAP4/5UART3 |
65 | cmp \rp, #OMAP3UART4 @ only on 36xx | 65 | cmp \rp, #OMAP3UART4 @ only on 36xx |
66 | beq 34f @ configure OMAP3UART4 | 66 | beq 34f @ configure OMAP3UART4 |
67 | cmp \rp, #OMAP4UART4 @ only on 44xx | 67 | cmp \rp, #OMAP4UART4 @ only on 44xx/54xx |
68 | beq 44f @ configure OMAP4UART4 | 68 | beq 44f @ configure OMAP4/5UART4 |
69 | cmp \rp, #TI81XXUART1 @ ti81Xx UART offsets different | 69 | cmp \rp, #TI81XXUART1 @ ti81Xx UART offsets different |
70 | beq 81f @ configure UART1 | 70 | beq 81f @ configure UART1 |
71 | cmp \rp, #TI81XXUART2 @ ti81Xx UART offsets different | 71 | cmp \rp, #TI81XXUART2 @ ti81Xx UART offsets different |
diff --git a/arch/arm/mach-omap2/include/mach/omap-wakeupgen.h b/arch/arm/mach-omap2/include/mach/omap-wakeupgen.h index 548de90b58c2..b0fd16f5c391 100644 --- a/arch/arm/mach-omap2/include/mach/omap-wakeupgen.h +++ b/arch/arm/mach-omap2/include/mach/omap-wakeupgen.h | |||
@@ -11,15 +11,20 @@ | |||
11 | #ifndef OMAP_ARCH_WAKEUPGEN_H | 11 | #ifndef OMAP_ARCH_WAKEUPGEN_H |
12 | #define OMAP_ARCH_WAKEUPGEN_H | 12 | #define OMAP_ARCH_WAKEUPGEN_H |
13 | 13 | ||
14 | /* OMAP4 and OMAP5 has same base address */ | ||
15 | #define OMAP_WKUPGEN_BASE 0x48281000 | ||
16 | |||
14 | #define OMAP_WKG_CONTROL_0 0x00 | 17 | #define OMAP_WKG_CONTROL_0 0x00 |
15 | #define OMAP_WKG_ENB_A_0 0x10 | 18 | #define OMAP_WKG_ENB_A_0 0x10 |
16 | #define OMAP_WKG_ENB_B_0 0x14 | 19 | #define OMAP_WKG_ENB_B_0 0x14 |
17 | #define OMAP_WKG_ENB_C_0 0x18 | 20 | #define OMAP_WKG_ENB_C_0 0x18 |
18 | #define OMAP_WKG_ENB_D_0 0x1c | 21 | #define OMAP_WKG_ENB_D_0 0x1c |
22 | #define OMAP_WKG_ENB_E_0 0x20 | ||
19 | #define OMAP_WKG_ENB_A_1 0x410 | 23 | #define OMAP_WKG_ENB_A_1 0x410 |
20 | #define OMAP_WKG_ENB_B_1 0x414 | 24 | #define OMAP_WKG_ENB_B_1 0x414 |
21 | #define OMAP_WKG_ENB_C_1 0x418 | 25 | #define OMAP_WKG_ENB_C_1 0x418 |
22 | #define OMAP_WKG_ENB_D_1 0x41c | 26 | #define OMAP_WKG_ENB_D_1 0x41c |
27 | #define OMAP_WKG_ENB_E_1 0x420 | ||
23 | #define OMAP_AUX_CORE_BOOT_0 0x800 | 28 | #define OMAP_AUX_CORE_BOOT_0 0x800 |
24 | #define OMAP_AUX_CORE_BOOT_1 0x804 | 29 | #define OMAP_AUX_CORE_BOOT_1 0x804 |
25 | #define OMAP_PTMSYNCREQ_MASK 0xc00 | 30 | #define OMAP_PTMSYNCREQ_MASK 0xc00 |
@@ -28,4 +33,6 @@ | |||
28 | #define OMAP_TIMESTAMPCYCLEHI 0xc0c | 33 | #define OMAP_TIMESTAMPCYCLEHI 0xc0c |
29 | 34 | ||
30 | extern int __init omap_wakeupgen_init(void); | 35 | extern int __init omap_wakeupgen_init(void); |
36 | extern void __iomem *omap_get_wakeupgen_base(void); | ||
37 | extern int omap_secure_apis_support(void); | ||
31 | #endif | 38 | #endif |