HomeFreeBSD

sdhci: allow setting MMC capabilities before sdhci_init_slot

Description

sdhci: allow setting MMC capabilities before sdhci_init_slot

With this change the host controller drivers can set the MMC capabilities
(e.g. using mmc_fdt_parse() helper) before calling sdhci_init_slot().
This way the configuration dump (eg. in bootverbose) can include the
possible additional information.

Reviewed by: manu
Obtained from: Semihalf
Sponsored by: Marvell
Differential Revision: https://reviews.freebsd.org/D30561
MFC after: 2 weeks

(cherry picked from commit 5652be30a322f2543bc1e3bcc135abc56b3eb268)

Details

Provenance
mwAuthored on May 4 2021, 10:57 PM
Reviewer
manu
Differential Revision
D30561: sdhci: allow setting MMC capabilities before sdhci_init_slot
Parents
rG4a80132dcd48: rmlock: Temporarily revert commit c84bb8cd771c
Branches
Unknown
Tags
Unknown