
Hi Masahiro.
On 01/12/2018 06:11 PM, Masahiro Yamada wrote:
Hi Jaehoon,
2018-01-12 17:44 GMT+09:00 Jaehoon Chung jh80.chung@samsung.com:
Hi Masahiro,
On 12/30/2017 02:00 AM, Masahiro Yamada wrote:
Add HS200 timing setting and the MMC tuning callback.
[..snip..]
+static struct dm_mmc_ops sdhci_cdns_mmc_ops;
static int sdhci_cdns_bind(struct udevice *dev) { struct sdhci_cdns_plat *plat = dev_get_platdata(dev); @@ -189,6 +256,8 @@ static int sdhci_cdns_probe(struct udevice *dev) host->ioaddr = plat->hrs_addr + SDHCI_CDNS_SRS_BASE; host->ops = &sdhci_cdns_ops; host->quirks |= SDHCI_QUIRK_WAIT_SEND_CMD;
sdhci_cdns_mmc_ops = sdhci_ops;
sdhci_cdns_mmc_ops.execute_tuning = sdhci_cdns_execute_tuning;
It needs to add the #ifdef MMC_SUPPORT_TUNING. When MMC_SUPPPORT_TUNING is enabled, excute_tuning is included as member.
Nice catch!
I've sent v2. Thanks!
Thanks! I'm testing other patches. After finishing them, i will apply yours and other patches. And will send PR on Today! Thanks for resending patch v2.
Best Regards, Jaehoon Chung