projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10a1deb
)
sh: add probe support for new sh7722 cut
author
Magnus Damm
<magnus.damm@gmail.com>
Wed, 6 Feb 2008 14:57:57 +0000
(23:57 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Thu, 14 Feb 2008 05:22:07 +0000
(14:22 +0900)
This patch adds support for sh7722 devices with prr value 0xa1.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/sh4/probe.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sh/kernel/cpu/sh4/probe.c
b/arch/sh/kernel/cpu/sh4/probe.c
index f2b9238cda042ae3aa51befd18c82d6f18af9663..89b454b1f0f1f95992358a1f13af4c05b4b69f14 100644
(file)
--- a/
arch/sh/kernel/cpu/sh4/probe.c
+++ b/
arch/sh/kernel/cpu/sh4/probe.c
@@
-126,7
+126,7
@@
int __init detect_cpu_and_cache_system(void)
CPU_HAS_LLSC;
break;
case 0x3008:
- if (prr == 0xa0) {
+ if (prr == 0xa0
|| prr == 0xa1
) {
boot_cpu_data.type = CPU_SH7722;
boot_cpu_data.icache.ways = 4;
boot_cpu_data.dcache.ways = 4;