Page MenuHomeFreeBSD

sdhci: Provide devmethod for software reset
Needs ReviewPublic

Authored by ar_semihalf.com on Oct 28 2021, 1:27 PM.

Details

Reviewers
manu
mmel
mw
wma
Summary

Some sdhci controllers require custom software reset logic. Accommodate
this need by introducing a new SDHCI_RESET devmethod. Move the existing
reset logic into sdhci_generic_reset and use it as a default for the
aforementioned method.

Submitted by: Artur Rojek <ar@semihalf.com>
Obtained from: Semihalf
Sponsored by: Alstom Group

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Lint Skipped
Unit
Unit Tests Skipped