Page MenuHomeFreeBSD

NXP: Implement errata workaround for SDHCI driver
ClosedPublic

Authored by hum_semihalf.com on Dec 1 2021, 2:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 17, 5:38 AM
Unknown Object (File)
Thu, May 9, 2:29 PM
Unknown Object (File)
Tue, May 7, 9:47 PM
Unknown Object (File)
Tue, May 7, 9:47 PM
Unknown Object (File)
Tue, May 7, 9:47 PM
Unknown Object (File)
Tue, May 7, 9:47 PM
Unknown Object (File)
Tue, May 7, 6:15 PM
Unknown Object (File)
Sun, Apr 28, 6:11 AM

Details

Summary

Some boards do not detect pulse width reliably. Implement workaround
by writing 0 to special register. Apply errata for board by adding
flag to chosen soc specific data.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

manu added inline comments.
sys/dev/sdhci/sdhci_fsl_fdt.c
5

You need to add 2020-2021

This revision is now accepted and ready to land.Dec 1 2021, 2:55 PM

Change time period in license entry from 2021 to 2020 - 2021.

This revision now requires review to proceed.Dec 1 2021, 3:06 PM
This revision is now accepted and ready to land.Dec 1 2021, 3:13 PM
bz added a subscriber: bz.

Is there a (public) reference for the errata? Might be worth mentioning that at least in the commit message.

sys/dev/sdhci/sdhci_fsl_fdt.c
743

technically you are only clearing a bit and not setting the register to 0...