mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-01 00:49:43 +00:00
Correct SPL use of MMC_QUIRKS
This converts 1 usage of this option to the non-SPL form, since there is no SPL_MMC_QUIRKS defined in Kconfig Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
This commit is contained in:
parent
d1f5dbe664
commit
497b7c6beb
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ static int mmc_send_cmd_retry(struct mmc *mmc, struct mmc_cmd *cmd,
|
|||
static int mmc_send_cmd_quirks(struct mmc *mmc, struct mmc_cmd *cmd,
|
||||
struct mmc_data *data, u32 quirk, uint retries)
|
||||
{
|
||||
if (CONFIG_IS_ENABLED(MMC_QUIRKS) && mmc->quirks & quirk)
|
||||
if (IS_ENABLED(CONFIG_MMC_QUIRKS) && mmc->quirks & quirk)
|
||||
return mmc_send_cmd_retry(mmc, cmd, data, retries);
|
||||
else
|
||||
return mmc_send_cmd(mmc, cmd, data);
|
||||
|
|
Loading…
Reference in a new issue