Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 42583
b: refs/heads/master
c: b552c7e
h: refs/heads/master
i:
  42581: af62670
  42579: aa52f9b
  42575: 9a7b295
v: v3
  • Loading branch information
Paul Mundt committed Dec 6, 2006
1 parent 5d8a614 commit adb0c8c
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9a7ef6d59f9d4780ff5bc9c4d05266b52dcb9211
refs/heads/master: b552c7e8bceae8a04ae79ecee6fa369c1ba4f8e4
3 changes: 2 additions & 1 deletion trunk/arch/sh/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,7 @@ static int __init topology_init(void)
subsys_initcall(topology_init);

static const char *cpu_name[] = {
[CPU_SH7206] = "SH7206", [CPU_SH7619] = "SH7619",
[CPU_SH7604] = "SH7604", [CPU_SH7300] = "SH7300",
[CPU_SH7705] = "SH7705", [CPU_SH7706] = "SH7706",
[CPU_SH7707] = "SH7707", [CPU_SH7708] = "SH7708",
Expand All @@ -404,7 +405,7 @@ static const char *cpu_name[] = {
[CPU_SH4_202] = "SH4-202", [CPU_SH4_501] = "SH4-501",
[CPU_SH7770] = "SH7770", [CPU_SH7780] = "SH7780",
[CPU_SH7781] = "SH7781", [CPU_SH7343] = "SH7343",
[CPU_SH7206] = "SH7206", [CPU_SH7619] = "SH7619",
[CPU_SH7785] = "SH7785",
[CPU_SH_NONE] = "Unknown"
};

Expand Down
5 changes: 5 additions & 0 deletions trunk/arch/sh/mm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,11 @@ config CPU_SUBTYPE_SH7780
select CPU_SH4A
select CPU_HAS_INTC2_IRQ

config CPU_SUBTYPE_SH7785
bool "Support SH7785 processor"
select CPU_SH4A
select CPU_HAS_INTC2_IRQ

comment "SH4AL-DSP Processor Support"

config CPU_SUBTYPE_SH73180
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/asm-sh/bugs.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ static void __init check_bugs(void)
case CPU_SH7750 ... CPU_SH4_501:
*p++ = '4';
break;
case CPU_SH7770 ... CPU_SH7781:
case CPU_SH7770 ... CPU_SH7785:
*p++ = '4';
*p++ = 'a';
break;
Expand Down
3 changes: 3 additions & 0 deletions trunk/include/asm-sh/processor.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ enum cpu_type {
/* SH-4 types */
CPU_SH7750, CPU_SH7750S, CPU_SH7750R, CPU_SH7751, CPU_SH7751R,
CPU_SH7760, CPU_ST40RA, CPU_ST40GX1, CPU_SH4_202, CPU_SH4_501,

/* SH-4A types */
CPU_SH73180, CPU_SH7343, CPU_SH7770, CPU_SH7780, CPU_SH7781,
CPU_SH7785,

/* Unknown subtype */
CPU_SH_NONE
Expand Down

0 comments on commit adb0c8c

Please sign in to comment.