diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2016-05-01 16:04:40 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2016-05-01 16:04:40 +0000 |
commit | 6bd1ebc4f6372213e2d48e527b38f1d9c3c14f0e (patch) | |
tree | 80ea831bd0078578a4716851e31069b80e26e830 /sys/arch/armv7/omap | |
parent | 9350001d745387d778c568a6f38cc76cb9f0beb8 (diff) |
Add support for changing the bus width to the sdmmc subsystem and the sdhc(4)
controller. Use this to switch SD cards to a 4-bit bus if they support it.
ok deraadt@, jsg@
Diffstat (limited to 'sys/arch/armv7/omap')
-rw-r--r-- | sys/arch/armv7/omap/ommmc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/armv7/omap/ommmc.c b/sys/arch/armv7/omap/ommmc.c index 5363ce5fb67..e3c5cf9a616 100644 --- a/sys/arch/armv7/omap/ommmc.c +++ b/sys/arch/armv7/omap/ommmc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ommmc.c,v 1.15 2016/01/10 14:11:43 kettenis Exp $ */ +/* $OpenBSD: ommmc.c,v 1.16 2016/05/01 16:04:39 kettenis Exp $ */ /* * Copyright (c) 2009 Dale Rahn <drahn@openbsd.org> @@ -260,6 +260,7 @@ struct sdmmc_chip_functions ommmc_functions = { /* bus power and clock frequency */ ommmc_bus_power, ommmc_bus_clock, + NULL, /* command execution */ ommmc_exec_command, /* card interrupt */ |