diff options
Diffstat (limited to 'arch/mips/sni/setup.c')
-rw-r--r-- | arch/mips/sni/setup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/sni/setup.c b/arch/mips/sni/setup.c index 5b09b3544edd..efad85c8c823 100644 --- a/arch/mips/sni/setup.c +++ b/arch/mips/sni/setup.c | |||
@@ -25,6 +25,7 @@ | |||
25 | #endif | 25 | #endif |
26 | 26 | ||
27 | #include <asm/bootinfo.h> | 27 | #include <asm/bootinfo.h> |
28 | #include <asm/cpu.h> | ||
28 | #include <asm/io.h> | 29 | #include <asm/io.h> |
29 | #include <asm/reboot.h> | 30 | #include <asm/reboot.h> |
30 | #include <asm/sni.h> | 31 | #include <asm/sni.h> |
@@ -173,7 +174,7 @@ void __init plat_mem_setup(void) | |||
173 | system_type = "RM300-Cxx"; | 174 | system_type = "RM300-Cxx"; |
174 | break; | 175 | break; |
175 | case SNI_BRD_PCI_DESKTOP: | 176 | case SNI_BRD_PCI_DESKTOP: |
176 | switch (read_c0_prid() & 0xff00) { | 177 | switch (read_c0_prid() & PRID_IMP_MASK) { |
177 | case PRID_IMP_R4600: | 178 | case PRID_IMP_R4600: |
178 | case PRID_IMP_R4700: | 179 | case PRID_IMP_R4700: |
179 | system_type = "RM200-C20"; | 180 | system_type = "RM200-C20"; |