Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ecd5a739 authored by Ralf Baechle's avatar Ralf Baechle
Browse files

[MIPS] Alchemy: Set board type on initialization.


    
From Sergei Shtylylov <sshtylyov@ru.mvista.com>.
    
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent dea91002
Loading
Loading
Loading
Loading
+11 −1
Original line number Original line Diff line number Diff line
@@ -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();