diff options
Diffstat (limited to 'arch/mips/kernel/cpu-probe.c')
-rw-r--r-- | arch/mips/kernel/cpu-probe.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c index 89c3304cb93c..add717dccf77 100644 --- a/arch/mips/kernel/cpu-probe.c +++ b/arch/mips/kernel/cpu-probe.c | |||
@@ -675,6 +675,12 @@ static void __cpuinit decode_configs(struct cpuinfo_mips *c) | |||
675 | return; | 675 | return; |
676 | } | 676 | } |
677 | 677 | ||
678 | #ifdef CONFIG_CPU_MIPSR2 | ||
679 | extern void spram_config(void); | ||
680 | #else | ||
681 | static inline void spram_config(void) {} | ||
682 | #endif | ||
683 | |||
678 | static inline void cpu_probe_mips(struct cpuinfo_mips *c) | 684 | static inline void cpu_probe_mips(struct cpuinfo_mips *c) |
679 | { | 685 | { |
680 | decode_configs(c); | 686 | decode_configs(c); |
@@ -712,6 +718,8 @@ static inline void cpu_probe_mips(struct cpuinfo_mips *c) | |||
712 | c->cputype = CPU_74K; | 718 | c->cputype = CPU_74K; |
713 | break; | 719 | break; |
714 | } | 720 | } |
721 | |||
722 | spram_config(); | ||
715 | } | 723 | } |
716 | 724 | ||
717 | static inline void cpu_probe_alchemy(struct cpuinfo_mips *c) | 725 | static inline void cpu_probe_alchemy(struct cpuinfo_mips *c) |