aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/mm
diff options
context:
space:
mode:
authorJamie Lenehan <lenehan@twibble.org>2006-12-05 22:05:02 -0500
committerPaul Mundt <lethal@linux-sh.org>2006-12-05 22:05:02 -0500
commitea0f8feaa041f3ccec3d6b8ee51325b177daef06 (patch)
tree261c7d75e5caccbaface63370bae029ecd81b98a /arch/sh/mm
parentfe9687dec0400c6de7187ab5efa91facd958ca84 (diff)
sh: sh775x/titan fixes for irq header changes.
The following moves the creation of IPR interupts into setup-7750.c and updates a few other things to make it all work after the "Drop CPU subtype IRQ headers" commit. It boots and runs fine on my titan board. - adds an ipr_idx to the ipr_data and uses a function in the subtype code to calculate the address of the IPR registers - adds a function to enable individual interrupt mode for externals in the subtype code and calls that from the titan board code instead of doing it directly. - I changed the shift in the ipr_data to be the actual # of bits to shift, instead of the numnber / 4 - made it easier to match with the manual. Signed-off-by: Jamie Lenehan <lenehan@twibble.org> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm')
-rw-r--r--arch/sh/mm/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig
index 6cd6d0045d16..4e0362f50384 100644
--- a/arch/sh/mm/Kconfig
+++ b/arch/sh/mm/Kconfig
@@ -104,6 +104,7 @@ comment "SH-4 Processor Support"
104config CPU_SUBTYPE_SH7750 104config CPU_SUBTYPE_SH7750
105 bool "Support SH7750 processor" 105 bool "Support SH7750 processor"
106 select CPU_SH4 106 select CPU_SH4
107 select CPU_HAS_IPR_IRQ
107 help 108 help
108 Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU. 109 Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
109 110
@@ -119,15 +120,18 @@ config CPU_SUBTYPE_SH7750R
119 bool "Support SH7750R processor" 120 bool "Support SH7750R processor"
120 select CPU_SH4 121 select CPU_SH4
121 select CPU_SUBTYPE_SH7750 122 select CPU_SUBTYPE_SH7750
123 select CPU_HAS_IPR_IRQ
122 124
123config CPU_SUBTYPE_SH7750S 125config CPU_SUBTYPE_SH7750S
124 bool "Support SH7750S processor" 126 bool "Support SH7750S processor"
125 select CPU_SH4 127 select CPU_SH4
126 select CPU_SUBTYPE_SH7750 128 select CPU_SUBTYPE_SH7750
129 select CPU_HAS_IPR_IRQ
127 130
128config CPU_SUBTYPE_SH7751 131config CPU_SUBTYPE_SH7751
129 bool "Support SH7751 processor" 132 bool "Support SH7751 processor"
130 select CPU_SH4 133 select CPU_SH4
134 select CPU_HAS_IPR_IRQ
131 help 135 help
132 Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU, 136 Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
133 or if you have a HD6417751R CPU. 137 or if you have a HD6417751R CPU.
@@ -136,6 +140,7 @@ config CPU_SUBTYPE_SH7751R
136 bool "Support SH7751R processor" 140 bool "Support SH7751R processor"
137 select CPU_SH4 141 select CPU_SH4
138 select CPU_SUBTYPE_SH7751 142 select CPU_SUBTYPE_SH7751
143 select CPU_HAS_IPR_IRQ
139 144
140config CPU_SUBTYPE_SH7760 145config CPU_SUBTYPE_SH7760
141 bool "Support SH7760 processor" 146 bool "Support SH7760 processor"