aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/patches/110-machine.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2011-05-29 21:19:26 +0000
committerJohn Crispin <john@openwrt.org>2011-05-29 21:19:26 +0000
commit6608f419d1a23762f34482b4628f9159bcb81fc2 (patch)
tree3f0b966c3d64ee995d89ee1a904c4306eedf846d /target/linux/lantiq/patches/110-machine.patch
parentc7cdee0230c999197b017fb4aadd49f5eb7dc0b8 (diff)
downloadupstream-6608f419d1a23762f34482b4628f9159bcb81fc2.tar.gz
upstream-6608f419d1a23762f34482b4628f9159bcb81fc2.tar.bz2
upstream-6608f419d1a23762f34482b4628f9159bcb81fc2.zip
* backport 2.6.8 patches to .39 / .32.33
* remove lqtapi * bump tapi/dsl to .39 * migrate to new ltq_ style api * add amazon_se support SVN-Revision: 27026
Diffstat (limited to 'target/linux/lantiq/patches/110-machine.patch')
-rw-r--r--target/linux/lantiq/patches/110-machine.patch63
1 files changed, 0 insertions, 63 deletions
diff --git a/target/linux/lantiq/patches/110-machine.patch b/target/linux/lantiq/patches/110-machine.patch
deleted file mode 100644
index cf4652ec22..0000000000
--- a/target/linux/lantiq/patches/110-machine.patch
+++ /dev/null
@@ -1,63 +0,0 @@
---- a/arch/mips/lantiq/setup.c
-+++ b/arch/mips/lantiq/setup.c
-@@ -12,7 +12,8 @@
- #include <linux/ioport.h>
-
- #include <lantiq.h>
--#include <lantiq_regs.h>
-+
-+#include <machine.h>
-
- void __init
- plat_mem_setup(void)
-@@ -31,6 +32,7 @@
- ioport_resource.end = IOPORT_RESOURCE_END;
- iomem_resource.start = IOMEM_RESOURCE_START;
- iomem_resource.end = IOMEM_RESOURCE_END;
-+ set_io_port_base((unsigned long) KSEG1);
-
- while (*envp)
- {
-@@ -45,3 +47,25 @@
- memsize *= 1024 * 1024;
- add_memory_region(0x00000000, memsize, BOOT_MEM_RAM);
- }
-+
-+static int __init
-+lq_machine_setup(void)
-+{
-+ mips_machine_setup();
-+ return 0;
-+}
-+
-+static void __init
-+mach_generic_init(void)
-+{
-+}
-+
-+MIPS_MACHINE(LANTIQ_MACH_GENERIC,
-+ "Generic",
-+ "Generic",
-+ mach_generic_init);
-+
-+arch_initcall(lq_machine_setup);
-+
-+/* for backward compatibility, define "board=" as alias for "machtype=" */
-+__setup("board=", mips_machtype_setup);
---- /dev/null
-+++ b/arch/mips/include/asm/mach-lantiq/machine.h
-@@ -0,0 +1,14 @@
-+#include <asm/mips_machine.h>
-+
-+enum lantiq_mach_type {
-+ LANTIQ_MACH_GENERIC,
-+
-+ /* FALCON */
-+ LANTIQ_MACH_EASY98000, /* Falcon Eval Board, NOR Flash */
-+ LANTIQ_MACH_EASY98020, /* Falcon Reference Board */
-+
-+ /* XWAY */
-+ LANTIQ_MACH_EASY4010, /* Twinpass evalkit */
-+ LANTIQ_MACH_EASY50712, /* Danube evalkit */
-+ LANTIQ_MACH_EASY50812, /* AR9 eval board */
-+};