diff options
-rw-r--r-- | arch/mips/include/asm/cpu-type.h | 1 | ||||
-rw-r--r-- | arch/mips/include/asm/cpu.h | 2 | ||||
-rw-r--r-- | arch/mips/kernel/idle.c | 1 | ||||
-rw-r--r-- | arch/mips/kernel/spram.c | 1 | ||||
-rw-r--r-- | arch/mips/kernel/traps.c | 1 | ||||
-rw-r--r-- | arch/mips/mm/c-r4k.c | 1 | ||||
-rw-r--r-- | arch/mips/mm/sc-mips.c | 1 | ||||
-rw-r--r-- | arch/mips/mm/tlbex.c | 1 | ||||
-rw-r--r-- | arch/mips/oprofile/common.c | 1 | ||||
-rw-r--r-- | arch/mips/oprofile/op_model_mipsxx.c | 4 |
10 files changed, 13 insertions, 1 deletions
diff --git a/arch/mips/include/asm/cpu-type.h b/arch/mips/include/asm/cpu-type.h index 71d36ff99932..00413508da99 100644 --- a/arch/mips/include/asm/cpu-type.h +++ b/arch/mips/include/asm/cpu-type.h | |||
@@ -44,6 +44,7 @@ static inline int __pure __get_cpu_type(const int cpu_type) | |||
44 | case CPU_74K: | 44 | case CPU_74K: |
45 | case CPU_M14KC: | 45 | case CPU_M14KC: |
46 | case CPU_M14KEC: | 46 | case CPU_M14KEC: |
47 | case CPU_PROAPTIV: | ||
47 | #endif | 48 | #endif |
48 | 49 | ||
49 | #ifdef CONFIG_SYS_HAS_CPU_MIPS64_R1 | 50 | #ifdef CONFIG_SYS_HAS_CPU_MIPS64_R1 |
diff --git a/arch/mips/include/asm/cpu.h b/arch/mips/include/asm/cpu.h index e448caa24f85..f990247dd88d 100644 --- a/arch/mips/include/asm/cpu.h +++ b/arch/mips/include/asm/cpu.h | |||
@@ -293,7 +293,7 @@ enum cpu_type_enum { | |||
293 | CPU_4KC, CPU_4KEC, CPU_4KSC, CPU_24K, CPU_34K, CPU_1004K, CPU_74K, | 293 | CPU_4KC, CPU_4KEC, CPU_4KSC, CPU_24K, CPU_34K, CPU_1004K, CPU_74K, |
294 | CPU_ALCHEMY, CPU_PR4450, CPU_BMIPS32, CPU_BMIPS3300, CPU_BMIPS4350, | 294 | CPU_ALCHEMY, CPU_PR4450, CPU_BMIPS32, CPU_BMIPS3300, CPU_BMIPS4350, |
295 | CPU_BMIPS4380, CPU_BMIPS5000, CPU_JZRISC, CPU_LOONGSON1, CPU_M14KC, | 295 | CPU_BMIPS4380, CPU_BMIPS5000, CPU_JZRISC, CPU_LOONGSON1, CPU_M14KC, |
296 | CPU_M14KEC, | 296 | CPU_M14KEC, CPU_PROAPTIV, |
297 | 297 | ||
298 | /* | 298 | /* |
299 | * MIPS64 class processors | 299 | * MIPS64 class processors |
diff --git a/arch/mips/kernel/idle.c b/arch/mips/kernel/idle.c index f7991d95bff9..cb2c94f13d01 100644 --- a/arch/mips/kernel/idle.c +++ b/arch/mips/kernel/idle.c | |||
@@ -184,6 +184,7 @@ void __init check_wait(void) | |||
184 | case CPU_24K: | 184 | case CPU_24K: |
185 | case CPU_34K: | 185 | case CPU_34K: |
186 | case CPU_1004K: | 186 | case CPU_1004K: |
187 | case CPU_PROAPTIV: | ||
187 | cpu_wait = r4k_wait; | 188 | cpu_wait = r4k_wait; |
188 | if (read_c0_config7() & MIPS_CONF7_WII) | 189 | if (read_c0_config7() & MIPS_CONF7_WII) |
189 | cpu_wait = r4k_wait_irqoff; | 190 | cpu_wait = r4k_wait_irqoff; |
diff --git a/arch/mips/kernel/spram.c b/arch/mips/kernel/spram.c index 93f86817f20a..fb72b803b754 100644 --- a/arch/mips/kernel/spram.c +++ b/arch/mips/kernel/spram.c | |||
@@ -206,6 +206,7 @@ void spram_config(void) | |||
206 | case CPU_34K: | 206 | case CPU_34K: |
207 | case CPU_74K: | 207 | case CPU_74K: |
208 | case CPU_1004K: | 208 | case CPU_1004K: |
209 | case CPU_PROAPTIV: | ||
209 | config0 = read_c0_config(); | 210 | config0 = read_c0_config(); |
210 | /* FIXME: addresses are Malta specific */ | 211 | /* FIXME: addresses are Malta specific */ |
211 | if (config0 & (1<<24)) { | 212 | if (config0 & (1<<24)) { |
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c index eef3001b6890..e98f3ab2a018 100644 --- a/arch/mips/kernel/traps.c +++ b/arch/mips/kernel/traps.c | |||
@@ -1336,6 +1336,7 @@ static inline void parity_protection_init(void) | |||
1336 | case CPU_34K: | 1336 | case CPU_34K: |
1337 | case CPU_74K: | 1337 | case CPU_74K: |
1338 | case CPU_1004K: | 1338 | case CPU_1004K: |
1339 | case CPU_PROAPTIV: | ||
1339 | { | 1340 | { |
1340 | #define ERRCTL_PE 0x80000000 | 1341 | #define ERRCTL_PE 0x80000000 |
1341 | #define ERRCTL_L2P 0x00800000 | 1342 | #define ERRCTL_L2P 0x00800000 |
diff --git a/arch/mips/mm/c-r4k.c b/arch/mips/mm/c-r4k.c index a4e1a692e45a..eded642e1fef 100644 --- a/arch/mips/mm/c-r4k.c +++ b/arch/mips/mm/c-r4k.c | |||
@@ -1106,6 +1106,7 @@ static void probe_pcache(void) | |||
1106 | case CPU_34K: | 1106 | case CPU_34K: |
1107 | case CPU_74K: | 1107 | case CPU_74K: |
1108 | case CPU_1004K: | 1108 | case CPU_1004K: |
1109 | case CPU_PROAPTIV: | ||
1109 | if (current_cpu_type() == CPU_74K) | 1110 | if (current_cpu_type() == CPU_74K) |
1110 | alias_74k_erratum(c); | 1111 | alias_74k_erratum(c); |
1111 | if ((read_c0_config7() & (1 << 16))) { | 1112 | if ((read_c0_config7() & (1 << 16))) { |
diff --git a/arch/mips/mm/sc-mips.c b/arch/mips/mm/sc-mips.c index 08d05aee8788..317c2497a75c 100644 --- a/arch/mips/mm/sc-mips.c +++ b/arch/mips/mm/sc-mips.c | |||
@@ -76,6 +76,7 @@ static inline int mips_sc_is_activated(struct cpuinfo_mips *c) | |||
76 | case CPU_34K: | 76 | case CPU_34K: |
77 | case CPU_74K: | 77 | case CPU_74K: |
78 | case CPU_1004K: | 78 | case CPU_1004K: |
79 | case CPU_PROAPTIV: | ||
79 | case CPU_BMIPS5000: | 80 | case CPU_BMIPS5000: |
80 | if (config2 & (1 << 12)) | 81 | if (config2 & (1 << 12)) |
81 | return 0; | 82 | return 0; |
diff --git a/arch/mips/mm/tlbex.c b/arch/mips/mm/tlbex.c index 183f2b583e4d..6fdfe1fadc91 100644 --- a/arch/mips/mm/tlbex.c +++ b/arch/mips/mm/tlbex.c | |||
@@ -510,6 +510,7 @@ static void build_tlb_write_entry(u32 **p, struct uasm_label **l, | |||
510 | switch (current_cpu_type()) { | 510 | switch (current_cpu_type()) { |
511 | case CPU_M14KC: | 511 | case CPU_M14KC: |
512 | case CPU_74K: | 512 | case CPU_74K: |
513 | case CPU_PROAPTIV: | ||
513 | break; | 514 | break; |
514 | 515 | ||
515 | default: | 516 | default: |
diff --git a/arch/mips/oprofile/common.c b/arch/mips/oprofile/common.c index 4d1736fc1955..efd2eb3d92e3 100644 --- a/arch/mips/oprofile/common.c +++ b/arch/mips/oprofile/common.c | |||
@@ -86,6 +86,7 @@ int __init oprofile_arch_init(struct oprofile_operations *ops) | |||
86 | case CPU_34K: | 86 | case CPU_34K: |
87 | case CPU_1004K: | 87 | case CPU_1004K: |
88 | case CPU_74K: | 88 | case CPU_74K: |
89 | case CPU_PROAPTIV: | ||
89 | case CPU_LOONGSON1: | 90 | case CPU_LOONGSON1: |
90 | case CPU_SB1: | 91 | case CPU_SB1: |
91 | case CPU_SB1A: | 92 | case CPU_SB1A: |
diff --git a/arch/mips/oprofile/op_model_mipsxx.c b/arch/mips/oprofile/op_model_mipsxx.c index 3a2b6e9f25cf..3e28aaa39bc9 100644 --- a/arch/mips/oprofile/op_model_mipsxx.c +++ b/arch/mips/oprofile/op_model_mipsxx.c | |||
@@ -376,6 +376,10 @@ static int __init mipsxx_init(void) | |||
376 | op_model_mipsxx_ops.cpu_type = "mips/74K"; | 376 | op_model_mipsxx_ops.cpu_type = "mips/74K"; |
377 | break; | 377 | break; |
378 | 378 | ||
379 | case CPU_PROAPTIV: | ||
380 | op_model_mipsxx_ops.cpu_type = "mips/proAptiv"; | ||
381 | break; | ||
382 | |||
379 | case CPU_5KC: | 383 | case CPU_5KC: |
380 | op_model_mipsxx_ops.cpu_type = "mips/5K"; | 384 | op_model_mipsxx_ops.cpu_type = "mips/5K"; |
381 | break; | 385 | break; |