aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2006-11-20 00:14:29 -0500
committerPaul Mundt <lethal@linux-sh.org>2006-12-05 20:45:37 -0500
commitb552c7e8bceae8a04ae79ecee6fa369c1ba4f8e4 (patch)
treefbc4983bd9cda6a466c1823256296c89ed20b104 /arch/sh
parent9a7ef6d59f9d4780ff5bc9c4d05266b52dcb9211 (diff)
sh: Hook SH7785 in to the build system.
Simple 7785 placeholders to start hooking up other bits of code. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/kernel/setup.c3
-rw-r--r--arch/sh/mm/Kconfig5
2 files changed, 7 insertions, 1 deletions
diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c
index c24f6390007b..696ca75752d9 100644
--- a/arch/sh/kernel/setup.c
+++ b/arch/sh/kernel/setup.c
@@ -392,6 +392,7 @@ static int __init topology_init(void)
392subsys_initcall(topology_init); 392subsys_initcall(topology_init);
393 393
394static const char *cpu_name[] = { 394static const char *cpu_name[] = {
395 [CPU_SH7206] = "SH7206", [CPU_SH7619] = "SH7619",
395 [CPU_SH7604] = "SH7604", [CPU_SH7300] = "SH7300", 396 [CPU_SH7604] = "SH7604", [CPU_SH7300] = "SH7300",
396 [CPU_SH7705] = "SH7705", [CPU_SH7706] = "SH7706", 397 [CPU_SH7705] = "SH7705", [CPU_SH7706] = "SH7706",
397 [CPU_SH7707] = "SH7707", [CPU_SH7708] = "SH7708", 398 [CPU_SH7707] = "SH7707", [CPU_SH7708] = "SH7708",
@@ -404,7 +405,7 @@ static const char *cpu_name[] = {
404 [CPU_SH4_202] = "SH4-202", [CPU_SH4_501] = "SH4-501", 405 [CPU_SH4_202] = "SH4-202", [CPU_SH4_501] = "SH4-501",
405 [CPU_SH7770] = "SH7770", [CPU_SH7780] = "SH7780", 406 [CPU_SH7770] = "SH7770", [CPU_SH7780] = "SH7780",
406 [CPU_SH7781] = "SH7781", [CPU_SH7343] = "SH7343", 407 [CPU_SH7781] = "SH7781", [CPU_SH7343] = "SH7343",
407 [CPU_SH7206] = "SH7206", [CPU_SH7619] = "SH7619", 408 [CPU_SH7785] = "SH7785",
408 [CPU_SH_NONE] = "Unknown" 409 [CPU_SH_NONE] = "Unknown"
409}; 410};
410 411
diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig
index 814a17586974..27463e26a7b8 100644
--- a/arch/sh/mm/Kconfig
+++ b/arch/sh/mm/Kconfig
@@ -171,6 +171,11 @@ config CPU_SUBTYPE_SH7780
171 select CPU_SH4A 171 select CPU_SH4A
172 select CPU_HAS_INTC2_IRQ 172 select CPU_HAS_INTC2_IRQ
173 173
174config CPU_SUBTYPE_SH7785
175 bool "Support SH7785 processor"
176 select CPU_SH4A
177 select CPU_HAS_INTC2_IRQ
178
174comment "SH4AL-DSP Processor Support" 179comment "SH4AL-DSP Processor Support"
175 180
176config CPU_SUBTYPE_SH73180 181config CPU_SUBTYPE_SH73180