commit | ddb214a38ce7aa9275de907fb9a164d88b0ffdea | [log] [tgz] |
---|---|---|
author | Tom Rini <trini@konsulko.com> | Tue May 20 08:35:31 2025 -0600 |
committer | Tom Rini <trini@konsulko.com> | Tue May 20 08:35:31 2025 -0600 |
tree | 80cc0238cd8a30645e4e764d375107091399d48a | |
parent | 194e4e36d4b9e79c236094d71d0fbcab59eb0017 [diff] | |
parent | 2f60642b10c4e9ccd49f638cd000578785655090 [diff] |
Merge tag 'mmc-2025-05-20' of https://source.denx.de/u-boot/custodians/u-boot-mmc CI: https://source.denx.de/u-boot/custodians/u-boot-mmc/-/pipelines/26241 - Fix mmc cv1800b build without MMC_SUPPORTS_TUNING
diff --git a/drivers/mmc/cv1800b_sdhci.c b/drivers/mmc/cv1800b_sdhci.c index 4e75051..377e6a8 100644 --- a/drivers/mmc/cv1800b_sdhci.c +++ b/drivers/mmc/cv1800b_sdhci.c
@@ -31,6 +31,7 @@ udelay(10); } +#if CONFIG_IS_ENABLED(MMC_SUPPORTS_TUNING) static int cv1800b_execute_tuning(struct mmc *mmc, u8 opcode) { struct sdhci_host *host = dev_get_priv(mmc->dev); @@ -61,9 +62,12 @@ return 0; } +#endif const struct sdhci_ops cv1800b_sdhci_sd_ops = { +#if CONFIG_IS_ENABLED(MMC_SUPPORTS_TUNING) .platform_execute_tuning = cv1800b_execute_tuning, +#endif }; static int cv1800b_sdhci_bind(struct udevice *dev)