[MIPS] WRPPMC: Fix build.
authorRalf Baechle <ralf@linux-mips.org>
Tue, 10 Jul 2007 15:56:33 +0000 (16:56 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 10 Jul 2007 16:33:06 +0000 (17:33 +0100)
Using another systems defines is a safe way to get your code broken by
accident when that system is removed.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/gt64120/wrppmc/setup.c
include/asm-mips/bootinfo.h

index 121188d5ec4a3ee90660bf4c6c557001cd46afec..ea965529e5e06600893fd4a2fbadcce9aa67e072 100644 (file)
@@ -158,8 +158,8 @@ const char *get_system_type(void)
  */
 void __init prom_init(void)
 {
-       mips_machgroup = MACH_GROUP_GALILEO;
-       mips_machtype = MACH_EV64120A;
+       mips_machgroup = MACH_GROUP_WINDRIVER;
+       mips_machtype = MACH_WRPPMC;
 
        add_memory_region(WRPPMC_SDRAM_SCS0_BASE, WRPPMC_SDRAM_SCS0_SIZE, BOOT_MEM_RAM);
        add_memory_region(WRPPMC_BOOTROM_BASE, WRPPMC_BOOTROM_SIZE, BOOT_MEM_ROM_DATA);
index 075a4d3de326ccffaaa5b204516adf0143a64877..087126a5faf9e84beb8f3cf3a9075e55ef95eb4d 100644 (file)
 #define MACH_MSP7120_FPGA       5      /* PMC-Sierra MSP7120 Emulation */
 #define MACH_MSP_OTHER        255      /* PMC-Sierra unknown board type */
 
+#define MACH_GROUP_WINDRIVER   28      /* Windriver boards */
+#define MACH_WRPPMC             1
+
 #define CL_SIZE                        COMMAND_LINE_SIZE
 
 const char *get_system_type(void);