aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2020-08-27 08:08:49 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2020-08-27 08:08:49 +0000
commit27998f7a02c5776c248c8ada67734e3911212639 (patch)
tree7c7401d8cc6b3fcd112922a4672f182ab6899b22 /sys
parent84ecea90b7209c5a699ff015811cc48752f847af (diff)
downloadsrc-27998f7a02c5776c248c8ada67734e3911212639.tar.gz
src-27998f7a02c5776c248c8ada67734e3911212639.zip
arm: ti: Fix Beaglebone black MMC after DTS update
After DTS sync with Linux kernel 5.8 this patch was included: "ARM: dts: Move am33xx and am43xx mmc nodes to sdhci-omap driver" https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/arch/arm/boot/dts/am33xx-l4.dtsi?h=v5.9-rc2&id=0b4edf111870b83ea77b1d7e16b8ceac29f9f388 Current will not load any driver for MMC and not mount the rootfs. Simple patch add "ti,am335-sdhci" to compability strings in ti_sdhci.c Submitted by: oskar.holmlund@ohdata.se Reported by: phk X-MFC-With: 363853
Notes
Notes: svn path=/head/; revision=364859
Diffstat (limited to 'sys')
-rw-r--r--sys/arm/ti/ti_sdhci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/arm/ti/ti_sdhci.c b/sys/arm/ti/ti_sdhci.c
index 4d19f4663d2f..958add3919ee 100644
--- a/sys/arm/ti/ti_sdhci.c
+++ b/sys/arm/ti/ti_sdhci.c
@@ -93,6 +93,7 @@ struct ti_sdhci_softc {
* Note that vendor Beaglebone dtsi files use "ti,omap3-hsmmc" for the am335x.
*/
static struct ofw_compat_data compat_data[] = {
+ {"ti,am335-sdhci", 1},
{"ti,omap3-hsmmc", 1},
{"ti,omap4-hsmmc", 1},
{"ti,mmchs", 1},