summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2014-11-04 13:18:05 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2014-11-04 13:18:05 +0000
commitb1dd20832a6c80833c307186fc4688753e642eda (patch)
tree9cca4047ab9beec38e25ee487622bc491e6215cc /sys/arch
parent04784f9c845ddf5701d5675842e04667050bf001 (diff)
Uncomment code that does voltage capabilities initialisation. Without
this using an sd card with my rev C BeagleBone Black won't work. Should fix similiar problems reported by Gerke Preussner and Andrew Hills on arm@ ok syl@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/armv7/omap/ommmc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/arch/armv7/omap/ommmc.c b/sys/arch/armv7/omap/ommmc.c
index b72b4f8ec85..7abb1db9a37 100644
--- a/sys/arch/armv7/omap/ommmc.c
+++ b/sys/arch/armv7/omap/ommmc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ommmc.c,v 1.12 2013/12/04 12:31:14 syl Exp $ */
+/* $OpenBSD: ommmc.c,v 1.13 2014/11/04 13:18:04 jsg Exp $ */
/*
* Copyright (c) 2009 Dale Rahn <drahn@openbsd.org>
@@ -300,11 +300,8 @@ ommmc_attach(struct device *parent, struct device *self, void *args)
goto err;
}
-#if 0
- /* XXX - IIRC firmware should set this */
/* Controller Voltage Capabilities Initialization */
HSET4(sc, MMCHS_CAPA, MMCHS_CAPA_VS18 | MMCHS_CAPA_VS30);
-#endif
#ifdef SDHC_DEBUG
ommmc_dump_regs(sc);