aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/lantiq/setup.c
diff options
context:
space:
mode:
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 @@
14 14
15#include <lantiq_soc.h> 15#include <lantiq_soc.h>
16 16
17#include "machtypes.h"
18#include "devices.h"
19#include "prom.h" 17#include "prom.h"
20 18
21void __init plat_mem_setup(void) 19void __init plat_mem_setup(void)
@@ -43,24 +41,3 @@ void __init plat_mem_setup(void)
43 memsize *= 1024 * 1024; 41 memsize *= 1024 * 1024;
44 add_memory_region(0x00000000, memsize, BOOT_MEM_RAM); 42 add_memory_region(0x00000000, memsize, BOOT_MEM_RAM);
45} 43}
46
47static int __init
48lantiq_setup(void)
49{
50 ltq_soc_setup();
51 mips_machine_setup();
52 return 0;
53}
54
55arch_initcall(lantiq_setup);
56
57static void __init
58lantiq_generic_init(void)
59{
60 /* Nothing to do */
61}
62
63MIPS_MACHINE(LTQ_MACH_GENERIC,
64 "Generic",
65 "Generic Lantiq based board",
66 lantiq_generic_init);