summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/amd/picasso/fsp_s_params.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/picasso/fsp_s_params.c b/src/soc/amd/picasso/fsp_s_params.c
index f69245d0c8..c35612dd59 100644
--- a/src/soc/amd/picasso/fsp_s_params.c
+++ b/src/soc/amd/picasso/fsp_s_params.c
@@ -58,7 +58,7 @@ static void fsps_update_emmc_config(FSP_S_CONFIG *scfg,
/* Make sure that the FSP knows that the EMMC controller should be disabled when the
corresponding MMIO device is disabled */
- if (!DEV_PTR(emmc)->enabled)
+ if (!is_dev_enabled(DEV_PTR(emmc)))
val = SD_DISABLE;
scfg->emmc0_mode = val;