]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
mmc: switch mmc_helper to device_ api
authorBartlomiej Grzesik <bag@semihalf.com>
Mon, 2 Aug 2021 14:27:23 +0000 (16:27 +0200)
committerMarcin Wojtas <mw@FreeBSD.org>
Mon, 20 Sep 2021 15:18:02 +0000 (17:18 +0200)
commit8a8166e5bcfb50e2b7280581b600d098fa6c9fc7
tree73f55d58a22e214dfd095dfc2f13a8cd011fa49e
parent3f9a00e3b577dcca57e331842e0baf2dbdf9325f
mmc: switch mmc_helper to device_ api

Add generic mmc_helper which uses newly introduced device_*_property
api. Thanks to this change the sd/mmc drivers will be capable
of parsing both DT and ACPI description.

Ensure backward compatibility for all mmc_fdt_helper users.

Reviewed by: manu, mw
Sponsored by: Semihalf
Differential revision: https://reviews.freebsd.org/D31598
sys/arm/allwinner/aw_mmc.c
sys/arm/broadcom/bcm2835/bcm2835_sdhci.c
sys/conf/files
sys/dev/mmc/host/dwmmc_var.h
sys/dev/mmc/mmc_fdt_helpers.c
sys/dev/mmc/mmc_fdt_helpers.h
sys/dev/mmc/mmc_helpers.c [new file with mode: 0644]
sys/dev/mmc/mmc_helpers.h [new file with mode: 0644]
sys/dev/sdhci/sdhci_fsl_fdt.c
sys/dev/sdhci/sdhci_xenon.c