提交 ecd5a739 编写于 作者: R Ralf Baechle

[MIPS] Alchemy: Set board type on initialization.

    
From Sergei Shtylylov <sshtylyov@ru.mvista.com>.
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 dea91002
...@@ -61,7 +61,17 @@ void __init prom_init(void) ...@@ -61,7 +61,17 @@ void __init prom_init(void)
prom_envp = (char **) fw_arg2; prom_envp = (char **) fw_arg2;
mips_machgroup = MACH_GROUP_ALCHEMY; mips_machgroup = MACH_GROUP_ALCHEMY;
mips_machtype = MACH_DB1000; /* set the platform # */
/* Set the platform # */
#if defined (CONFIG_MIPS_DB1550)
mips_machtype = MACH_DB1550;
#elif defined (CONFIG_MIPS_DB1500)
mips_machtype = MACH_DB1500;
#elif defined (CONFIG_MIPS_DB1100)
mips_machtype = MACH_DB1100;
#else
mips_machtype = MACH_DB1000;
#endif
prom_init_cmdline(); prom_init_cmdline();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册