]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sdhci: allow setting MMC capabilities before sdhci_init_slot
authorMarcin Wojtas <mw@FreeBSD.org>
Tue, 4 May 2021 22:57:50 +0000 (00:57 +0200)
committerMarcin Wojtas <mw@FreeBSD.org>
Wed, 2 Jun 2021 07:55:19 +0000 (09:55 +0200)
commit5652be30a322f2543bc1e3bcc135abc56b3eb268
treeee3b4a8684a1fbd33f3f03d380f40b591ea82ea8
parent7d8700bc291b4b3be1a592cae539f9e682592d9d
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
sys/dev/sdhci/sdhci.c