1 --- a/arch/mips/lantiq/setup.c
2 +++ b/arch/mips/lantiq/setup.c
4 #include <linux/ioport.h>
7 -#include <lantiq_regs.h>
13 @@ -46,3 +47,25 @@ plat_mem_setup(void)
14 memsize *= 1024 * 1024;
15 add_memory_region(0x00000000, memsize, BOOT_MEM_RAM);
19 +lq_machine_setup(void)
21 + mips_machine_setup();
26 +mach_generic_init(void)
30 +MIPS_MACHINE(LANTIQ_MACH_GENERIC,
35 +arch_initcall(lq_machine_setup);
37 +/* for backward compatibility, define "board=" as alias for "machtype=" */
38 +__setup("board=", mips_machtype_setup);
40 +++ b/arch/mips/include/asm/mach-lantiq/machine.h
42 +#include <asm/mips_machine.h>
44 +enum lantiq_mach_type {
45 + LANTIQ_MACH_GENERIC,
48 + LANTIQ_MACH_EASY98000, /* Falcon Eval Board, NOR Flash */
49 + LANTIQ_MACH_EASY98020, /* Falcon Reference Board */
52 + LANTIQ_MACH_EASY4010, /* Twinpass evalkit */
53 + LANTIQ_MACH_EASY50712, /* Danube evalkit */
54 + LANTIQ_MACH_EASY50812, /* AR9 eval board */