Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
bbc7f22f
Commit
bbc7f22f
authored
Jul 12, 2005
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Detect the 34K.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
079ef8bb
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
1 deletion
+10
-1
arch/mips/kernel/cpu-probe.c
arch/mips/kernel/cpu-probe.c
+5
-0
arch/mips/kernel/proc.c
arch/mips/kernel/proc.c
+1
-0
arch/mips/mm/tlbex.c
arch/mips/mm/tlbex.c
+1
-0
include/asm-mips/cpu.h
include/asm-mips/cpu.h
+3
-1
No files found.
arch/mips/kernel/cpu-probe.c
View file @
bbc7f22f
...
...
@@ -104,6 +104,7 @@ static inline void check_wait(void)
/* case CPU_20KC:*/
case
CPU_24K
:
case
CPU_25KF
:
case
CPU_34K
:
cpu_wait
=
r4k_wait
;
printk
(
" available.
\n
"
);
break
;
...
...
@@ -538,6 +539,10 @@ static inline void cpu_probe_mips(struct cpuinfo_mips *c)
/* Probe for L2 cache */
c
->
scache
.
flags
&=
~
MIPS_CACHE_NOT_PRESENT
;
break
;
case
PRID_IMP_34K
:
c
->
cputype
=
CPU_34K
;
c
->
isa_level
=
MIPS_CPU_ISA_M32
;
break
;
}
}
...
...
arch/mips/kernel/proc.c
View file @
bbc7f22f
...
...
@@ -72,6 +72,7 @@ static const char *cpu_name[] = {
[
CPU_20KC
]
=
"MIPS 20Kc"
,
[
CPU_24K
]
=
"MIPS 24K"
,
[
CPU_25KF
]
=
"MIPS 25Kf"
,
[
CPU_34K
]
=
"MIPS 34K"
,
[
CPU_VR4111
]
=
"NEC VR4111"
,
[
CPU_VR4121
]
=
"NEC VR4121"
,
[
CPU_VR4122
]
=
"NEC VR4122"
,
...
...
arch/mips/mm/tlbex.c
View file @
bbc7f22f
...
...
@@ -879,6 +879,7 @@ static __init void build_tlb_write_entry(u32 **p, struct label **l,
case
CPU_4KEC
:
case
CPU_24K
:
case
CPU_34K
:
i_ehb
(
p
);
tlbw
(
p
);
break
;
...
...
include/asm-mips/cpu.h
View file @
bbc7f22f
...
...
@@ -77,6 +77,7 @@
#define PRID_IMP_4KEMPR2 0x9100
#define PRID_IMP_4KSD 0x9200
#define PRID_IMP_24K 0x9300
#define PRID_IMP_34K 0x9500
#define PRID_IMP_24KE 0x9600
#define PRID_IMP_UNKNOWN 0xff00
...
...
@@ -185,7 +186,8 @@
#define CPU_AU1550 57
#define CPU_24K 58
#define CPU_AU1200 59
#define CPU_LAST 59
#define CPU_34K 60
#define CPU_LAST 60
/*
* ISA Level encodings
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment