summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2013-08-20 12:33:35 +0000
committerian <ian@FreeBSD.org>2013-08-20 12:33:35 +0000
commitd8b6d1ce6152bc25670f55802b06f36b6bcaab04 (patch)
tree7ddec0b477be05d199f550a6a4e9a3b138ce0829 /sys/boot
parent967f62efad365403306f050feee1f9bc423a7bf0 (diff)
downloadFreeBSD-src-d8b6d1ce6152bc25670f55802b06f36b6bcaab04.zip
FreeBSD-src-d8b6d1ce6152bc25670f55802b06f36b6bcaab04.tar.gz
Make the standard sdhci(4) driver work for the TI OMAP family SoCs.
The MMCHS hardware is pretty much a standard SDHCI v2.0 controller with a couple quirks, which are now supported by sdhci(4) as of r254507. This should work for all TI SoCs that use the MMCHS hardware, but it has only been tested on AM335x right now, so this enables it on those platforms but leaves the existing ti_mmchs driver in place for other OMAP variants until they can be tested. This initial incarnation lacks DMA support (coming soon). Even without it this improves performance pretty noticibly over the ti_mmchs driver, primarily because it now does multiblock IO.
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/fdt/dts/am335x.dtsi2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/boot/fdt/dts/am335x.dtsi b/sys/boot/fdt/dts/am335x.dtsi
index 90fb741..1424518 100644
--- a/sys/boot/fdt/dts/am335x.dtsi
+++ b/sys/boot/fdt/dts/am335x.dtsi
@@ -112,6 +112,7 @@
interrupts = <64>;
interrupt-parent = <&AINTC>;
mmchs-device-id = <0>;
+ mmchs-wp-gpio-pin = <0xffffffff>;
};
mmchs1@481D8000 {
@@ -120,6 +121,7 @@
interrupts = <28>;
interrupt-parent = <&AINTC>;
mmchs-device-id = <1>;
+ mmchs-wp-gpio-pin = <0xffffffff>;
status = "disabled";
};
OpenPOWER on IntegriCloud