Shelley Chen has submitted this change. ( https://review.coreboot.org/c/coreboot/+/79670?usp=email )
Change subject: soc/amd/picasso/fsp_s_params: use is_dev_enabled ......................................................................
soc/amd/picasso/fsp_s_params: use is_dev_enabled
Signed-off-by: Felix Held felix-coreboot@felixheld.de Change-Id: I5b692aaa2e3f768cc03bca71eff3ceb1a8733ad3 Reviewed-on: https://review.coreboot.org/c/coreboot/+/79670 Reviewed-by: Felix Singer service+coreboot-gerrit@felixsinger.de Tested-by: build bot (Jenkins) no-reply@coreboot.org --- M src/soc/amd/picasso/fsp_s_params.c 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Felix Singer: Looks good to me, approved
diff --git a/src/soc/amd/picasso/fsp_s_params.c b/src/soc/amd/picasso/fsp_s_params.c index f69245d..c35612d 100644 --- a/src/soc/amd/picasso/fsp_s_params.c +++ b/src/soc/amd/picasso/fsp_s_params.c @@ -58,7 +58,7 @@
/* 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;