diff options
author | Hirokazu Takata <takata@linux-m32r.org> | 2007-08-17 04:22:15 -0400 |
---|---|---|
committer | Hirokazu Takata <takata@linux-m32r.org> | 2007-09-02 22:30:18 -0400 |
commit | e070fb743d9d13d9757e633d1bdd1f9c20b2d792 (patch) | |
tree | 3fd150774101fefcabc1e31da59899839e2f9613 /arch/m32r/Kconfig | |
parent | ef64cf605daa9c36d950ba94cc115b0aed130dbc (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/Kconfig')
-rw-r--r-- | arch/m32r/Kconfig | 20 |
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 | ||
58 | config PLAT_USRV | 58 | config PLAT_USRV |
59 | bool "uServer" | 59 | bool "uServer" |
60 | select PLAT_HAS_INT1ICU | ||
60 | 61 | ||
61 | config PLAT_M32700UT | 62 | config 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 | ||
69 | config PLAT_OPSPUT | 73 | config 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 | ||
90 | config PLAT_M32104UT | 97 | config 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 | ||
160 | config PLAT_HAS_INT0ICU | ||
161 | bool | ||
162 | default n | ||
163 | |||
164 | config PLAT_HAS_INT1ICU | ||
165 | bool | ||
166 | default n | ||
167 | |||
168 | config PLAT_HAS_INT2ICU | ||
169 | bool | ||
170 | default n | ||
171 | |||
152 | config BUS_CLOCK | 172 | config 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 |