summaryrefslogtreecommitdiff
path: root/arch/mips/lantiq/xway/setup-xway.c
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2011-03-30 11:27:54 +0400
committerRalf Baechle <ralf@linux-mips.org>2011-05-19 12:55:42 +0400
commita053ac17024561f3a2fd02424b5f92823282b5ad (patch)
tree9ba6edcc538061425bf7972b92fd380ca3eb6120 /arch/mips/lantiq/xway/setup-xway.c
parent24aff71fa8df0d6a73dab17f3f2285a24b8f658f (diff)
downloadlinux-a053ac17024561f3a2fd02424b5f92823282b5ad.tar.xz
MIPS: Lantiq: Add mips_machine support
This patch adds support for Gabor's mips_machine patch. Signed-off-by: John Crispin <blogic@openwrt.org> Signed-off-by: Ralph Hempel <ralph.hempel@lantiq.com> Cc: Gabor Juhos <juhosg@openwrt.org> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/2251/ Patchwork: https://patchwork.linux-mips.org/patch/2358/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/lantiq/xway/setup-xway.c')
-rw-r--r--arch/mips/lantiq/xway/setup-xway.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/mips/lantiq/xway/setup-xway.c b/arch/mips/lantiq/xway/setup-xway.c
new file mode 100644
index 000000000000..c292f643a858
--- /dev/null
+++ b/arch/mips/lantiq/xway/setup-xway.c
@@ -0,0 +1,20 @@
+/*
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 as published
+ * by the Free Software Foundation.
+ *
+ * Copyright (C) 2011 John Crispin <blogic@openwrt.org>
+ */
+
+#include <lantiq_soc.h>
+
+#include "../prom.h"
+#include "devices.h"
+
+void __init ltq_soc_setup(void)
+{
+ ltq_register_asc(0);
+ ltq_register_asc(1);
+ ltq_register_gpio();
+ ltq_register_wdt();
+}