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>
This commit is contained in:
parent
06f4f65d24
commit
1b60e5c5c9
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user