summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2017-03-01 20:22:25 +0000
committerian <ian@FreeBSD.org>2017-03-01 20:22:25 +0000
commit729b5d708ca03f0facd9c13337866fa1cb306ebe (patch)
treeca146ad2064af9b741545d2cfdcd58647186bb3e /sys/conf
parentb6db1fb93d0aefdf2d82e9b20ca36094d5a3cb32 (diff)
downloadFreeBSD-src-729b5d708ca03f0facd9c13337866fa1cb306ebe.zip
FreeBSD-src-729b5d708ca03f0facd9c13337866fa1cb306ebe.tar.gz
MFC r311734, r311735, r311951, r314071:
Add new helper routines for sdhci bridge drivers that use gpio pins for card presence and write protect switch detection. Use the new sdhci_fdt_gpio helper functions to add full support for FDT gpio pins for detecting card insert/remove and write protect for ti_sdhci. Include sys/systm.h for use of bootverbose. Revert to ti_sdhci driver's historic behavior: assume an sd card is writable if the fdt data doesn't provide a gpio pin for reading the write protect switch and also doesn't contain a "wp-disable" property.
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/files1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/files b/sys/conf/files
index ae4f87d..52cb263 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -2556,6 +2556,7 @@ dev/scc/scc_dev_z8530.c optional scc
dev/scd/scd.c optional scd isa
dev/scd/scd_isa.c optional scd isa
dev/sdhci/sdhci.c optional sdhci
+dev/sdhci/sdhci_fdt_gpio.c optional sdhci fdt gpio
dev/sdhci/sdhci_if.m optional sdhci
dev/sdhci/sdhci_acpi.c optional sdhci acpi
dev/sdhci/sdhci_pci.c optional sdhci pci
OpenPOWER on IntegriCloud