[MIPS] Alchemy: Set board type on initialization. From Sergei Shtylylov <sshtylyov@ru.mvista.com>. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

+11 -1
+11 -1
arch/mips/au1000/db1x00/init.c
··· 61 61 prom_envp = (char **) fw_arg2; 62 62 63 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 76 prom_init_cmdline(); 67 77