1 --- a/arch/mips/lantiq/setup.c
2 +++ b/arch/mips/lantiq/setup.c
4 #include <linux/ioport.h>
7 -#include <lantiq_regs.h>
14 ioport_resource.end = IOPORT_RESOURCE_END;
15 iomem_resource.start = IOMEM_RESOURCE_START;
16 iomem_resource.end = IOMEM_RESOURCE_END;
17 + set_io_port_base((unsigned long) KSEG1);
22 memsize *= 1024 * 1024;
23 add_memory_region(0x00000000, memsize, BOOT_MEM_RAM);
27 +lq_machine_setup(void)
29 + mips_machine_setup();
34 +mach_generic_init(void)
38 +MIPS_MACHINE(LANTIQ_MACH_GENERIC,
43 +arch_initcall(lq_machine_setup);
45 +/* for backward compatibility, define "board=" as alias for "machtype=" */
46 +__setup("board=", mips_machtype_setup);
48 +++ b/arch/mips/include/asm/mach-lantiq/machine.h
50 +#include <asm/mips_machine.h>
52 +enum lantiq_mach_type {
53 + LANTIQ_MACH_GENERIC,
56 + LANTIQ_MACH_EASY98000, /* Falcon Eval Board, NOR Flash */
57 + LANTIQ_MACH_EASY98020, /* Falcon Reference Board */
60 + LANTIQ_MACH_EASY4010, /* Twinpass evalkit */
61 + LANTIQ_MACH_EASY50712, /* Danube evalkit */
62 + LANTIQ_MACH_EASY50812, /* AR9 eval board */