aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m32r
diff options
context:
space:
mode:
authorHirokazu Takata <takata@linux-m32r.org>2007-08-17 04:22:15 -0400
committerHirokazu Takata <takata@linux-m32r.org>2007-09-02 22:30:18 -0400
commite070fb743d9d13d9757e633d1bdd1f9c20b2d792 (patch)
tree3fd150774101fefcabc1e31da59899839e2f9613 /arch/m32r
parentef64cf605daa9c36d950ba94cc115b0aed130dbc (diff)
m32r: Define symbols to unify platform-dependent ICU checks
On some m32r platforms, cascaded ICUs are used. This patch is required to simplify ei_handler and consolidate platform- dependent ICU check routines. platform ICU/INT1 ICU/INT0 ICU/INT2 -------------- -------- -------- -------- m32104ut o - - m32700ut o o o opsput o o o usrv o - - (others) - - - Signed-off-by: Hitoshi Yamamoto <hitoshiy@linux-m32r.org> Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Diffstat (limited to 'arch/m32r')
-rw-r--r--arch/m32r/Kconfig20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/m32r/Kconfig b/arch/m32r/Kconfig
index 8ccf3e47bff8..bd5fe76401f1 100644
--- a/arch/m32r/Kconfig
+++ b/arch/m32r/Kconfig
@@ -57,9 +57,13 @@ config PLAT_MAPPI
57 57
58config PLAT_USRV 58config PLAT_USRV
59 bool "uServer" 59 bool "uServer"
60 select PLAT_HAS_INT1ICU
60 61
61config PLAT_M32700UT 62config PLAT_M32700UT
62 bool "M32700UT" 63 bool "M32700UT"
64 select PLAT_HAS_INT0ICU
65 select PLAT_HAS_INT1ICU
66 select PLAT_HAS_INT2ICU
63 help 67 help
64 The M3T-M32700UT is an evaluation board based on uT-Engine 68 The M3T-M32700UT is an evaluation board based on uT-Engine
65 specification. This board has an M32700 (Chaos) evaluation chip. 69 specification. This board has an M32700 (Chaos) evaluation chip.
@@ -68,6 +72,9 @@ config PLAT_M32700UT
68 72
69config PLAT_OPSPUT 73config PLAT_OPSPUT
70 bool "OPSPUT" 74 bool "OPSPUT"
75 select PLAT_HAS_INT0ICU
76 select PLAT_HAS_INT1ICU
77 select PLAT_HAS_INT2ICU
71 help 78 help
72 The OPSPUT is an evaluation board based on uT-Engine 79 The OPSPUT is an evaluation board based on uT-Engine
73 specification. This board has a OPSP-REP chip. 80 specification. This board has a OPSP-REP chip.
@@ -89,6 +96,7 @@ config PLAT_MAPPI3
89 96
90config PLAT_M32104UT 97config PLAT_M32104UT
91 bool "M32104UT" 98 bool "M32104UT"
99 select PLAT_HAS_INT1ICU
92 help 100 help
93 The M3T-M32104UT is an reference board based on uT-Engine 101 The M3T-M32104UT is an reference board based on uT-Engine
94 specification. This board has a M32104 chip. 102 specification. This board has a M32104 chip.
@@ -149,6 +157,18 @@ config ISA_DUAL_ISSUE
149 depends on CHIP_M32700 || CHIP_OPSP 157 depends on CHIP_M32700 || CHIP_OPSP
150 default y 158 default y
151 159
160config PLAT_HAS_INT0ICU
161 bool
162 default n
163
164config PLAT_HAS_INT1ICU
165 bool
166 default n
167
168config PLAT_HAS_INT2ICU
169 bool
170 default n
171
152config BUS_CLOCK 172config BUS_CLOCK
153 int "Bus Clock [Hz] (integer)" 173 int "Bus Clock [Hz] (integer)"
154 default "70000000" if PLAT_MAPPI 174 default "70000000" if PLAT_MAPPI