Author: manu
Date: Thu Aug 27 08:08:49 2020
New Revision: 364859
URL: https://svnweb.freebsd.org/changeset/base/364859

Log:
  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.holml...@ohdata.se
  Reported by:  phk
  X-MFC-With:   363853

Modified:
  head/sys/arm/ti/ti_sdhci.c

Modified: head/sys/arm/ti/ti_sdhci.c
==============================================================================
--- head/sys/arm/ti/ti_sdhci.c  Thu Aug 27 06:31:55 2020        (r364858)
+++ head/sys/arm/ti/ti_sdhci.c  Thu Aug 27 08:08:49 2020        (r364859)
@@ -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},
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to