diff options
author | Greg Ungerer <gerg@uclinux.org> | 2010-11-03 23:53:26 -0400 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2011-01-05 00:19:18 -0500 |
commit | 1c83af5f9d7e15a091f11394ad5916a7dcf1a99e (patch) | |
tree | aa41743fb552319bb53959a7df228233d4f04ba2 /arch/m68knommu/Kconfig | |
parent | 0762346034a3e94f9c3a5fe8d7c4bcaffbc1cd53 (diff) |
m68knommu: use user stack pointer hardware on some ColdFire cores
The more modern ColdFire parts (even if based on older version cores)
have separate user and supervisor stack pointers (a7 register).
Modify the ColdFire CPU setup and exception code to enable and use
this on parts that have it.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68knommu/Kconfig')
-rw-r--r-- | arch/m68knommu/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/m68knommu/Kconfig b/arch/m68knommu/Kconfig index 266a39eebcad..e6f482d18d05 100644 --- a/arch/m68knommu/Kconfig +++ b/arch/m68knommu/Kconfig | |||
@@ -75,6 +75,10 @@ config GENERIC_CLOCKEVENTS | |||
75 | config NO_IOPORT | 75 | config NO_IOPORT |
76 | def_bool y | 76 | def_bool y |
77 | 77 | ||
78 | config COLDFIRE_SW_A7 | ||
79 | bool | ||
80 | default n | ||
81 | |||
78 | source "init/Kconfig" | 82 | source "init/Kconfig" |
79 | 83 | ||
80 | source "kernel/Kconfig.freezer" | 84 | source "kernel/Kconfig.freezer" |
@@ -107,11 +111,13 @@ config M68360 | |||
107 | 111 | ||
108 | config M5206 | 112 | config M5206 |
109 | bool "MCF5206" | 113 | bool "MCF5206" |
114 | select COLDFIRE_SW_A7 | ||
110 | help | 115 | help |
111 | Motorola ColdFire 5206 processor support. | 116 | Motorola ColdFire 5206 processor support. |
112 | 117 | ||
113 | config M5206e | 118 | config M5206e |
114 | bool "MCF5206e" | 119 | bool "MCF5206e" |
120 | select COLDFIRE_SW_A7 | ||
115 | help | 121 | help |
116 | Motorola ColdFire 5206e processor support. | 122 | Motorola ColdFire 5206e processor support. |
117 | 123 | ||
@@ -129,6 +135,7 @@ config M523x | |||
129 | 135 | ||
130 | config M5249 | 136 | config M5249 |
131 | bool "MCF5249" | 137 | bool "MCF5249" |
138 | select COLDFIRE_SW_A7 | ||
132 | help | 139 | help |
133 | Motorola ColdFire 5249 processor support. | 140 | Motorola ColdFire 5249 processor support. |
134 | 141 | ||
@@ -139,6 +146,7 @@ config M5271 | |||
139 | 146 | ||
140 | config M5272 | 147 | config M5272 |
141 | bool "MCF5272" | 148 | bool "MCF5272" |
149 | select COLDFIRE_SW_A7 | ||
142 | help | 150 | help |
143 | Motorola ColdFire 5272 processor support. | 151 | Motorola ColdFire 5272 processor support. |
144 | 152 | ||
@@ -155,6 +163,7 @@ config M528x | |||
155 | 163 | ||
156 | config M5307 | 164 | config M5307 |
157 | bool "MCF5307" | 165 | bool "MCF5307" |
166 | select COLDFIRE_SW_A7 | ||
158 | help | 167 | help |
159 | Motorola ColdFire 5307 processor support. | 168 | Motorola ColdFire 5307 processor support. |
160 | 169 | ||
@@ -165,6 +174,7 @@ config M532x | |||
165 | 174 | ||
166 | config M5407 | 175 | config M5407 |
167 | bool "MCF5407" | 176 | bool "MCF5407" |
177 | select COLDFIRE_SW_A7 | ||
168 | help | 178 | help |
169 | Motorola ColdFire 5407 processor support. | 179 | Motorola ColdFire 5407 processor support. |
170 | 180 | ||