summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2018-03-30 09:31:06 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2018-03-30 09:31:06 +0000
commit1c5e10d02e032d6f0b41776342585c86c7bb091d (patch)
treeecfe0d05b484a542d75073bbca80277e4c005995 /sys
parent9b0ad29fe40ba69e2af47d5965755281fe0452af (diff)
Attach imxgpc(4) to i.MX8M as well.
ok kettenis@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/fdt/imxgpc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/fdt/imxgpc.c b/sys/dev/fdt/imxgpc.c
index 0ddc493d36f..9c3398febea 100644
--- a/sys/dev/fdt/imxgpc.c
+++ b/sys/dev/fdt/imxgpc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: imxgpc.c,v 1.1 2018/03/30 09:26:14 patrick Exp $ */
+/* $OpenBSD: imxgpc.c,v 1.2 2018/03/30 09:31:05 patrick Exp $ */
/*
* Copyright (c) 2016 Mark Kettenis
*
@@ -44,7 +44,8 @@ imxgpc_match(struct device *parent, void *match, void *aux)
{
struct fdt_attach_args *faa = aux;
- return OF_is_compatible(faa->fa_node, "fsl,imx6q-gpc");
+ return (OF_is_compatible(faa->fa_node, "fsl,imx6q-gpc") ||
+ OF_is_compatible(faa->fa_node, "fsl,imx8mq-gpc"));
}
void