summaryrefslogtreecommitdiff
path: root/arch/mips/lantiq/setup.c
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2012-04-13 17:19:42 +0200
committerRalf Baechle <ralf@linux-mips.org>2012-05-21 14:31:49 +0100
commitcd93b4895ea51dcd15c96801aa21e71f793e3af3 (patch)
treefbbeca9c1ca70620f10925cd8073ec42167e8a2f /arch/mips/lantiq/setup.c
parent3df425f316fb5c5e90236ff22b6e6616b3516af0 (diff)
MIPS: lantiq: drop mips_machine support
Before we are able to add OF support, we really want to drop all the bloat needed to register all the platform devices. Signed-off-by: John Crispin <blogic@openwrt.org> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/3800/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/lantiq/setup.c')
-rw-r--r--arch/mips/lantiq/setup.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/arch/mips/lantiq/setup.c b/arch/mips/lantiq/setup.c
index 1ff6c9d6cb93..f1c605ab8081 100644
--- a/arch/mips/lantiq/setup.c
+++ b/arch/mips/lantiq/setup.c
@@ -14,8 +14,6 @@
#include <lantiq_soc.h>
-#include "machtypes.h"
-#include "devices.h"
#include "prom.h"
void __init plat_mem_setup(void)
@@ -43,24 +41,3 @@ void __init plat_mem_setup(void)
memsize *= 1024 * 1024;
add_memory_region(0x00000000, memsize, BOOT_MEM_RAM);
}
-
-static int __init
-lantiq_setup(void)
-{
- ltq_soc_setup();
- mips_machine_setup();
- return 0;
-}
-
-arch_initcall(lantiq_setup);
-
-static void __init
-lantiq_generic_init(void)
-{
- /* Nothing to do */
-}
-
-MIPS_MACHINE(LTQ_MACH_GENERIC,
- "Generic",
- "Generic Lantiq based board",
- lantiq_generic_init);