diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2016-05-05 11:01:09 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2016-05-05 11:01:09 +0000 |
commit | 6251683a85f7efb0ecd95910fb03ebd1c20b30ac (patch) | |
tree | d031f5ff4c52f4912000d71aab493ad77bcf7bdf /sys/arch/arm | |
parent | 8f0bc08bb64f7d54716657b84582e0e73d6a1d71 (diff) |
Add Dual Data Rate support for eMMC at 52MHz.
Diffstat (limited to 'sys/arch/arm')
-rw-r--r-- | sys/arch/arm/xscale/pxa2x0_mmc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/arm/xscale/pxa2x0_mmc.c b/sys/arch/arm/xscale/pxa2x0_mmc.c index 434013cb71f..26c4bdd9c02 100644 --- a/sys/arch/arm/xscale/pxa2x0_mmc.c +++ b/sys/arch/arm/xscale/pxa2x0_mmc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pxa2x0_mmc.c,v 1.12 2016/05/01 16:04:39 kettenis Exp $ */ +/* $OpenBSD: pxa2x0_mmc.c,v 1.13 2016/05/05 11:01:08 kettenis Exp $ */ /* * Copyright (c) 2007 Uwe Stuehler <uwe@openbsd.org> @@ -56,7 +56,7 @@ u_int32_t pxammc_host_ocr(sdmmc_chipset_handle_t); int pxammc_host_maxblklen(sdmmc_chipset_handle_t); int pxammc_card_detect(sdmmc_chipset_handle_t); int pxammc_bus_power(sdmmc_chipset_handle_t, u_int32_t); -int pxammc_bus_clock(sdmmc_chipset_handle_t, int); +int pxammc_bus_clock(sdmmc_chipset_handle_t, int, int); void pxammc_exec_command(sdmmc_chipset_handle_t, struct sdmmc_command *); void pxammc_clock_stop(struct pxammc_softc *); void pxammc_clock_start(struct pxammc_softc *); @@ -278,7 +278,7 @@ pxammc_bus_power(sdmmc_chipset_handle_t sch, u_int32_t ocr) } int -pxammc_bus_clock(sdmmc_chipset_handle_t sch, int freq) +pxammc_bus_clock(sdmmc_chipset_handle_t sch, int freq, int timing) { struct pxammc_softc *sc = sch; int actfreq = 19500; /* KHz */ |