summaryrefslogtreecommitdiff
path: root/linux/arch/arm/mach-efm32
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2016-04-25 10:00:44 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2016-04-25 10:00:44 -0400
commita1df417e74aa6dae7352dc8cbb0ad471af5b7c69 (patch)
treec34b2311e37ea31db153c90cb8f4570374d05e78 /linux/arch/arm/mach-efm32
initial Olimex linux tree from Daniel, originally Feb 3, 2016
Diffstat (limited to 'linux/arch/arm/mach-efm32')
-rw-r--r--linux/arch/arm/mach-efm32/Makefile1
-rw-r--r--linux/arch/arm/mach-efm32/Makefile.boot3
-rw-r--r--linux/arch/arm/mach-efm32/dtmachine.c15
3 files changed, 19 insertions, 0 deletions
diff --git a/linux/arch/arm/mach-efm32/Makefile b/linux/arch/arm/mach-efm32/Makefile
new file mode 100644
index 00000000..3a74af74
--- /dev/null
+++ b/linux/arch/arm/mach-efm32/Makefile
@@ -0,0 +1 @@
+obj-y += dtmachine.o
diff --git a/linux/arch/arm/mach-efm32/Makefile.boot b/linux/arch/arm/mach-efm32/Makefile.boot
new file mode 100644
index 00000000..eacfc3f5
--- /dev/null
+++ b/linux/arch/arm/mach-efm32/Makefile.boot
@@ -0,0 +1,3 @@
+# Empty file waiting for deletion once Makefile.boot isn't needed any more.
+# Patch waits for application at
+# http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=7889/1 .
diff --git a/linux/arch/arm/mach-efm32/dtmachine.c b/linux/arch/arm/mach-efm32/dtmachine.c
new file mode 100644
index 00000000..23674951
--- /dev/null
+++ b/linux/arch/arm/mach-efm32/dtmachine.c
@@ -0,0 +1,15 @@
+#include <linux/kernel.h>
+
+#include <asm/v7m.h>
+
+#include <asm/mach/arch.h>
+
+static const char *const efm32gg_compat[] __initconst = {
+ "efm32,dk3750",
+ NULL
+};
+
+DT_MACHINE_START(EFM32DT, "EFM32 (Device Tree Support)")
+ .dt_compat = efm32gg_compat,
+ .restart = armv7m_restart,
+MACHINE_END