diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-05-08 04:47:28 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-05-08 04:47:28 +0000 |
commit | 3471aff0cdf2f3dfcb5c61ba7e867832d43a8c26 (patch) | |
tree | 39d9e84dd9d0935d3ff303a61e828d1fb44d8cbd | |
parent | 8e5b3ec92a07526bf1f4eaef0a77fd6bc7d2234f (diff) |
Add missing sabresd case statements. As sabresd_devs[] includes imxgpio
an attempt to boot on sabresd would have tried to deref NULL function
pointers.
-rw-r--r-- | sys/arch/armv7/imx/imxgpio.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/armv7/imx/imxgpio.c b/sys/arch/armv7/imx/imxgpio.c index fa1924edd72..de866d70a39 100644 --- a/sys/arch/armv7/imx/imxgpio.c +++ b/sys/arch/armv7/imx/imxgpio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: imxgpio.c,v 1.5 2015/05/08 03:38:26 jsg Exp $ */ +/* $OpenBSD: imxgpio.c,v 1.6 2015/05/08 04:47:27 jsg Exp $ */ /* * Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org> * Copyright (c) 2012-2013 Patrick Wildt <patrick@blueri.se> @@ -106,6 +106,7 @@ imxgpio_match(struct device *parent, void *v, void *aux) case BOARD_ID_IMX6_NOVENA: case BOARD_ID_IMX6_PHYFLEX: case BOARD_ID_IMX6_SABRELITE: + case BOARD_ID_IMX6_SABRESD: case BOARD_ID_IMX6_UDOO: case BOARD_ID_IMX6_UTILITE: case BOARD_ID_IMX6_WANDBOARD: @@ -134,6 +135,7 @@ imxgpio_attach(struct device *parent, struct device *self, void *args) case BOARD_ID_IMX6_NOVENA: case BOARD_ID_IMX6_PHYFLEX: case BOARD_ID_IMX6_SABRELITE: + case BOARD_ID_IMX6_SABRESD: case BOARD_ID_IMX6_UDOO: case BOARD_ID_IMX6_UTILITE: case BOARD_ID_IMX6_WANDBOARD: |