summaryrefslogtreecommitdiffstats
path: root/kernel/arch/arm/mach-moxart
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/arm/mach-moxart')
-rw-r--r--kernel/arch/arm/mach-moxart/Kconfig25
-rw-r--r--kernel/arch/arm/mach-moxart/Makefile3
-rw-r--r--kernel/arch/arm/mach-moxart/moxart.c15
3 files changed, 43 insertions, 0 deletions
diff --git a/kernel/arch/arm/mach-moxart/Kconfig b/kernel/arch/arm/mach-moxart/Kconfig
new file mode 100644
index 000000000..f49328c39
--- /dev/null
+++ b/kernel/arch/arm/mach-moxart/Kconfig
@@ -0,0 +1,25 @@
+menuconfig ARCH_MOXART
+ bool "MOXA ART SoC" if ARCH_MULTI_V4
+ select CPU_FA526
+ select ARM_DMA_MEM_BUFFERABLE
+ select CLKSRC_MMIO
+ select GENERIC_IRQ_CHIP
+ select ARCH_REQUIRE_GPIOLIB
+ select PHYLIB if NETDEVICES
+ help
+ Say Y here if you want to run your kernel on hardware with a
+ MOXA ART SoC.
+ The MOXA ART SoC is based on a Faraday FA526 ARMv4 32-bit
+ 192 MHz CPU with MMU and 16KB/8KB D/I-cache (UC-7112-LX).
+ Used on models UC-7101, UC-7112/UC-7110, IA240/IA241, IA3341.
+
+if ARCH_MOXART
+
+config MACH_UC7112LX
+ bool "MOXA UC-7112-LX"
+ depends on ARCH_MOXART
+ help
+ Say Y here if you intend to run this kernel on a MOXA
+ UC-7112-LX embedded computer.
+
+endif
diff --git a/kernel/arch/arm/mach-moxart/Makefile b/kernel/arch/arm/mach-moxart/Makefile
new file mode 100644
index 000000000..fa022eb10
--- /dev/null
+++ b/kernel/arch/arm/mach-moxart/Makefile
@@ -0,0 +1,3 @@
+# Object file lists.
+
+obj-$(CONFIG_MACH_UC7112LX) += moxart.o
diff --git a/kernel/arch/arm/mach-moxart/moxart.c b/kernel/arch/arm/mach-moxart/moxart.c
new file mode 100644
index 000000000..86b6d9b57
--- /dev/null
+++ b/kernel/arch/arm/mach-moxart/moxart.c
@@ -0,0 +1,15 @@
+/*
+ * arch/arm/mach-moxart/moxart.c
+ *
+ * (C) Copyright 2013, Jonas Jensen <jonas.jensen@gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */