summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2018-06-10 14:14:55 +0000
committerkettenis <kettenis@openbsd.org>2018-06-10 14:14:55 +0000
commitd307e4ac6f87d53fcc7cdb89905c2d0ee0081121 (patch)
tree0f59b2219b2bc7abb29aa1816988e7fe83354ea3
parentNow that all of the server-side client key exchange processing functions (diff)
downloadwireguard-openbsd-d307e4ac6f87d53fcc7cdb89905c2d0ee0081121.tar.xz
wireguard-openbsd-d307e4ac6f87d53fcc7cdb89905c2d0ee0081121.zip
Attach imxesdhc(4) to i.MX7D. Should attach to i.MX6SL as well.
Needs the same quirk as i.MX6SX and i.MX8M.
-rw-r--r--sys/dev/fdt/imxesdhc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/fdt/imxesdhc.c b/sys/dev/fdt/imxesdhc.c
index 4f499e47330..093bd7da9c0 100644
--- a/sys/dev/fdt/imxesdhc.c
+++ b/sys/dev/fdt/imxesdhc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: imxesdhc.c,v 1.7 2018/06/04 10:33:51 patrick Exp $ */
+/* $OpenBSD: imxesdhc.c,v 1.8 2018/06/10 14:14:55 kettenis Exp $ */
/*
* Copyright (c) 2009 Dale Rahn <drahn@openbsd.org>
* Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org>
@@ -284,6 +284,7 @@ imxesdhc_match(struct device *parent, void *match, void *aux)
struct fdt_attach_args *faa = aux;
return OF_is_compatible(faa->fa_node, "fsl,imx6q-usdhc") ||
+ OF_is_compatible(faa->fa_node, "fsl,imx6sl-usdhc") ||
OF_is_compatible(faa->fa_node, "fsl,imx6sx-usdhc") ||
OF_is_compatible(faa->fa_node, "fsl,imx8mq-usdhc");
}
@@ -332,7 +333,8 @@ imxesdhc_attach(struct device *parent, struct device *self, void *aux)
/* Determine host capabilities. */
caps = HREAD4(sc, SDHC_HOST_CTRL_CAP);
- if (OF_is_compatible(sc->sc_node, "fsl,imx6sx-usdhc") ||
+ if (OF_is_compatible(sc->sc_node, "fsl,imx6sl-usdhc") ||
+ OF_is_compatible(sc->sc_node, "fsl,imx6sx-usdhc") ||
OF_is_compatible(sc->sc_node, "fsl,imx8mq-usdhc"))
caps &= 0xffff0000;