summaryrefslogtreecommitdiff
path: root/sys/arch/armv7
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2016-09-05 11:29:56 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2016-09-05 11:29:56 +0000
commit16e0e2b9b7a89e3a90019269ffe74fe664c9cc50 (patch)
treecfb939c949928bdf5657d09e77788c4b4d1d4bc2 /sys/arch/armv7
parentc8dfec9614a17650da0f9f1e770fa3bcbf01b2c2 (diff)
Remove some unused bits.
ok kettenis
Diffstat (limited to 'sys/arch/armv7')
-rw-r--r--sys/arch/armv7/imx/imxesdhc.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/sys/arch/armv7/imx/imxesdhc.c b/sys/arch/armv7/imx/imxesdhc.c
index 556dceeffde..da2c8c76af2 100644
--- a/sys/arch/armv7/imx/imxesdhc.c
+++ b/sys/arch/armv7/imx/imxesdhc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: imxesdhc.c,v 1.31 2016/08/27 17:32:35 kettenis Exp $ */
+/* $OpenBSD: imxesdhc.c,v 1.32 2016/09/05 11:29:55 mglocker Exp $ */
/*
* Copyright (c) 2009 Dale Rahn <drahn@openbsd.org>
* Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org>
@@ -193,7 +193,6 @@ struct imxesdhc_softc {
int maxblklen; /* maximum block length */
int flags; /* flags for this host */
uint32_t ocr; /* OCR value from capabilities */
-// u_int8_t regs[14]; /* host controller state */
uint32_t intr_status; /* soft interrupt status */
uint32_t intr_error_status; /* */
@@ -203,9 +202,6 @@ struct imxesdhc_softc {
};
/* Host controller functions called by the attachment driver. */
-int imxesdhc_host_found(struct imxesdhc_softc *, bus_space_tag_t,
- bus_space_handle_t, bus_size_t, int);
-void imxesdhc_shutdown(void *);
int imxesdhc_intr(void *);
void imxesdhc_clock_enable(uint32_t);
@@ -547,18 +543,6 @@ imxesdhc_pwrseq_post(uint32_t phandle)
}
/*
- * Shutdown hook established by or called from attachment driver.
- */
-void
-imxesdhc_shutdown(void *arg)
-{
- struct imxesdhc_softc *sc = arg;
-
- /* XXX chip locks up if we don't disable it before reboot. */
- (void)imxesdhc_host_reset(sc);
-}
-
-/*
* Reset the host controller. Called during initialization, when
* cards are removed, upon resume, and during error recovery.
*/