diff options
Diffstat (limited to 'arch/mips/au1000/db1x00/init.c')
-rw-r--r-- | arch/mips/au1000/db1x00/init.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/arch/mips/au1000/db1x00/init.c b/arch/mips/au1000/db1x00/init.c index 4b9d5e46edbb..41e0522f3cf1 100644 --- a/arch/mips/au1000/db1x00/init.c +++ b/arch/mips/au1000/db1x00/init.c | |||
@@ -61,7 +61,17 @@ void __init prom_init(void) | |||
61 | prom_envp = (char **) fw_arg2; | 61 | prom_envp = (char **) fw_arg2; |
62 | 62 | ||
63 | mips_machgroup = MACH_GROUP_ALCHEMY; | 63 | mips_machgroup = MACH_GROUP_ALCHEMY; |
64 | mips_machtype = MACH_DB1000; /* set the platform # */ | 64 | |
65 | /* Set the platform # */ | ||
66 | #if defined (CONFIG_MIPS_DB1550) | ||
67 | mips_machtype = MACH_DB1550; | ||
68 | #elif defined (CONFIG_MIPS_DB1500) | ||
69 | mips_machtype = MACH_DB1500; | ||
70 | #elif defined (CONFIG_MIPS_DB1100) | ||
71 | mips_machtype = MACH_DB1100; | ||
72 | #else | ||
73 | mips_machtype = MACH_DB1000; | ||
74 | #endif | ||
65 | 75 | ||
66 | prom_init_cmdline(); | 76 | prom_init_cmdline(); |
67 | 77 | ||