diff options
author | Yoshinori Sato <ysato@users.sourceforge.jp> | 2006-11-05 01:40:13 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2006-12-05 20:45:36 -0500 |
commit | 9d4436a6fbc8c5eccdfcb8f5884e0a7b4a57f6d2 (patch) | |
tree | a8b7532fffa76ae526dea547cc87200466e00842 /arch/sh/mm/Kconfig | |
parent | e62438630ca37539c8cc1553710bbfaa3cf960a7 (diff) |
sh: Add support for SH7206 and SH7619 CPU subtypes.
This implements initial support for the SH7206 (SH-2A) and SH7619
(SH-2) MMU-less CPUs.
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm/Kconfig')
-rw-r--r-- | arch/sh/mm/Kconfig | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig index 9dd606464d23..814a17586974 100644 --- a/arch/sh/mm/Kconfig +++ b/arch/sh/mm/Kconfig | |||
@@ -4,8 +4,12 @@ menu "Processor selection" | |||
4 | # Processor families | 4 | # Processor families |
5 | # | 5 | # |
6 | config CPU_SH2 | 6 | config CPU_SH2 |
7 | select SH_WRITETHROUGH if !CPU_SH2A | ||
7 | bool | 8 | bool |
8 | select SH_WRITETHROUGH | 9 | |
10 | config CPU_SH2A | ||
11 | bool | ||
12 | select CPU_SH2 | ||
9 | 13 | ||
10 | config CPU_SH3 | 14 | config CPU_SH3 |
11 | bool | 15 | bool |
@@ -40,6 +44,16 @@ config CPU_SUBTYPE_SH7604 | |||
40 | bool "Support SH7604 processor" | 44 | bool "Support SH7604 processor" |
41 | select CPU_SH2 | 45 | select CPU_SH2 |
42 | 46 | ||
47 | config CPU_SUBTYPE_SH7619 | ||
48 | bool "Support SH7619 processor" | ||
49 | select CPU_SH2 | ||
50 | |||
51 | comment "SH-2A Processor Support" | ||
52 | |||
53 | config CPU_SUBTYPE_SH7206 | ||
54 | bool "Support SH7206 processor" | ||
55 | select CPU_SH2A | ||
56 | |||
43 | comment "SH-3 Processor Support" | 57 | comment "SH-3 Processor Support" |
44 | 58 | ||
45 | config CPU_SUBTYPE_SH7300 | 59 | config CPU_SUBTYPE_SH7300 |
@@ -274,7 +288,6 @@ config SH_DIRECT_MAPPED | |||
274 | 288 | ||
275 | config SH_WRITETHROUGH | 289 | config SH_WRITETHROUGH |
276 | bool "Use write-through caching" | 290 | bool "Use write-through caching" |
277 | default y if CPU_SH2 | ||
278 | help | 291 | help |
279 | Selecting this option will configure the caches in write-through | 292 | Selecting this option will configure the caches in write-through |
280 | mode, as opposed to the default write-back configuration. | 293 | mode, as opposed to the default write-back configuration. |