summaryrefslogtreecommitdiffstats
path: root/arch/mips/lantiq/xway/setup-ase.c
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2011-03-30 09:27:54 +0200
committerRalf Baechle <ralf@linux-mips.org>2011-05-19 09:55:42 +0100
commita053ac17024561f3a2fd02424b5f92823282b5ad (patch)
tree9ba6edcc538061425bf7972b92fd380ca3eb6120 /arch/mips/lantiq/xway/setup-ase.c
parent24aff71fa8df0d6a73dab17f3f2285a24b8f658f (diff)
downloadblackbird-op-linux-a053ac17024561f3a2fd02424b5f92823282b5ad.tar.gz
blackbird-op-linux-a053ac17024561f3a2fd02424b5f92823282b5ad.zip
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-ase.c')
-rw-r--r--arch/mips/lantiq/xway/setup-ase.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/mips/lantiq/xway/setup-ase.c b/arch/mips/lantiq/xway/setup-ase.c
new file mode 100644
index 000000000000..f6f326798a39
--- /dev/null
+++ b/arch/mips/lantiq/xway/setup-ase.c
@@ -0,0 +1,19 @@
+/*
+ * 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_ase_asc();
+ ltq_register_gpio();
+ ltq_register_wdt();
+}
OpenPOWER on IntegriCloud