diff options
Diffstat (limited to 'arch/sh/include/mach-sdk7786')
-rw-r--r-- | arch/sh/include/mach-sdk7786/mach/fpga.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/sh/include/mach-sdk7786/mach/fpga.h b/arch/sh/include/mach-sdk7786/mach/fpga.h index 40f0c2d3690c..a9cdac469927 100644 --- a/arch/sh/include/mach-sdk7786/mach/fpga.h +++ b/arch/sh/include/mach-sdk7786/mach/fpga.h | |||
@@ -14,11 +14,16 @@ | |||
14 | #define INTTESTR 0x040 | 14 | #define INTTESTR 0x040 |
15 | #define SYSSR 0x050 | 15 | #define SYSSR 0x050 |
16 | #define NRGPR 0x060 | 16 | #define NRGPR 0x060 |
17 | |||
17 | #define NMISR 0x070 | 18 | #define NMISR 0x070 |
19 | #define NMISR_MAN_NMI BIT(0) | ||
20 | #define NMISR_AUX_NMI BIT(1) | ||
21 | #define NMISR_MASK (NMISR_MAN_NMI | NMISR_AUX_NMI) | ||
18 | 22 | ||
19 | #define NMIMR 0x080 | 23 | #define NMIMR 0x080 |
20 | #define NMIMR_MAN_NMIM BIT(0) /* Manual NMI mask */ | 24 | #define NMIMR_MAN_NMIM BIT(0) /* Manual NMI mask */ |
21 | #define NMIMR_AUX_NMIM BIT(1) /* Auxiliary NMI mask */ | 25 | #define NMIMR_AUX_NMIM BIT(1) /* Auxiliary NMI mask */ |
26 | #define NMIMR_MASK (NMIMR_MAN_NMIM | NMIMR_AUX_NMIM) | ||
22 | 27 | ||
23 | #define INTBSR 0x090 | 28 | #define INTBSR 0x090 |
24 | #define INTBMR 0x0a0 | 29 | #define INTBMR 0x0a0 |
@@ -126,6 +131,9 @@ | |||
126 | extern void __iomem *sdk7786_fpga_base; | 131 | extern void __iomem *sdk7786_fpga_base; |
127 | extern void sdk7786_fpga_init(void); | 132 | extern void sdk7786_fpga_init(void); |
128 | 133 | ||
134 | /* arch/sh/boards/mach-sdk7786/nmi.c */ | ||
135 | extern void sdk7786_nmi_init(void); | ||
136 | |||
129 | #define SDK7786_FPGA_REGADDR(reg) (sdk7786_fpga_base + (reg)) | 137 | #define SDK7786_FPGA_REGADDR(reg) (sdk7786_fpga_base + (reg)) |
130 | 138 | ||
131 | /* | 139 | /* |