summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2018-03-30 09:26:15 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2018-03-30 09:26:15 +0000
commit8475ed1a4c36620ea9295e79784b16622d9cfdb1 (patch)
tree920d17724acffe62309fb6208a8dec8d439d529b /sys
parent187692fc65df0f68e4089df7578f3ad930aeaf24 (diff)
Move imxgpc(4) to sys/dev/fdt so it can be shared between arm64 and armv7.
ok kettenis@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/armv7/imx/files.imx6
-rw-r--r--sys/dev/fdt/files.fdt6
-rw-r--r--sys/dev/fdt/imxgpc.c (renamed from sys/arch/armv7/imx/imxgpc.c)2
3 files changed, 7 insertions, 7 deletions
diff --git a/sys/arch/armv7/imx/files.imx b/sys/arch/armv7/imx/files.imx
index 73e2e2cce1e..1b9c8d5ad6a 100644
--- a/sys/arch/armv7/imx/files.imx
+++ b/sys/arch/armv7/imx/files.imx
@@ -1,4 +1,4 @@
-# $OpenBSD: files.imx,v 1.22 2018/03/29 20:33:53 patrick Exp $
+# $OpenBSD: files.imx,v 1.23 2018/03/30 09:26:14 patrick Exp $
device imxccm
attach imxccm at fdt
@@ -8,10 +8,6 @@ device imxiomuxc
attach imxiomuxc at fdt
file arch/armv7/imx/imxiomuxc.c imxiomuxc
-device imxgpc
-attach imxgpc at fdt
-file arch/armv7/imx/imxgpc.c imxgpc
-
device imxdog
attach imxdog at fdt
file arch/armv7/imx/imxdog.c imxdog
diff --git a/sys/dev/fdt/files.fdt b/sys/dev/fdt/files.fdt
index d6e3ee451b2..9754e27b5d4 100644
--- a/sys/dev/fdt/files.fdt
+++ b/sys/dev/fdt/files.fdt
@@ -1,4 +1,4 @@
-# $OpenBSD: files.fdt,v 1.46 2018/03/29 20:33:53 patrick Exp $
+# $OpenBSD: files.fdt,v 1.47 2018/03/30 09:26:14 patrick Exp $
#
# Config file and device description for machine-independent FDT code.
# Included by ports that need it.
@@ -185,3 +185,7 @@ file dev/fdt/acrtc.c acrtc
device imxuart
attach imxuart at fdt
file dev/fdt/imxuart.c imxuart
+
+device imxgpc
+attach imxgpc at fdt
+file dev/fdt/imxgpc.c imxgpc
diff --git a/sys/arch/armv7/imx/imxgpc.c b/sys/dev/fdt/imxgpc.c
index 1205a0629ab..0ddc493d36f 100644
--- a/sys/arch/armv7/imx/imxgpc.c
+++ b/sys/dev/fdt/imxgpc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: imxgpc.c,v 1.2 2016/08/06 17:18:38 kettenis Exp $ */
+/* $OpenBSD: imxgpc.c,v 1.1 2018/03/30 09:26:14 patrick Exp $ */
/*
* Copyright (c) 2016 Mark Kettenis
*