diff options
Diffstat (limited to 'sys/arch/armv7/imx/imxesdhc.c')
-rw-r--r-- | sys/arch/armv7/imx/imxesdhc.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/sys/arch/armv7/imx/imxesdhc.c b/sys/arch/armv7/imx/imxesdhc.c index 4a7164f82e5..8701974633a 100644 --- a/sys/arch/armv7/imx/imxesdhc.c +++ b/sys/arch/armv7/imx/imxesdhc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: imxesdhc.c,v 1.19 2016/05/15 22:10:24 kettenis Exp $ */ +/* $OpenBSD: imxesdhc.c,v 1.20 2016/05/19 09:54:18 jsg Exp $ */ /* * Copyright (c) 2009 Dale Rahn <drahn@openbsd.org> * Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org> @@ -538,19 +538,6 @@ imxesdhc_card_detect(sdmmc_chipset_handle_t sch) } imxgpio_set_dir(gpio, IMXGPIO_DIR_IN); return imxgpio_get_bit(gpio) ? 0 : 1; - case BOARD_ID_IMX6_PHYFLEX: - switch (sc->unit) { - case 1: - gpio = 0*32 + 4; - break; - case 2: - gpio = 0*32 + 27; - break; - default: - return 0; - } - imxgpio_set_dir(gpio, IMXGPIO_DIR_IN); - return imxgpio_get_bit(gpio) ? 0 : 1; case BOARD_ID_IMX6_SABRELITE: switch (sc->unit) { case 2: |