Furquan Shaikh has uploaded this change for review. ( https://review.coreboot.org/25848
Change subject: soc/intel/common/block/xdci: Use vboot_can_enable_udc in xdci_can_enable ......................................................................
soc/intel/common/block/xdci: Use vboot_can_enable_udc in xdci_can_enable
This change uses the newly added vboot_can_enable_udc to decide if it is okay to enable XDCI in vboot developer mode.
BUG=b:78577893 BRANCH=poppy
Change-Id: Ia83b91ce17eec782faf5bb318ad8c00c09e2db05 Signed-off-by: Furquan Shaikh furquan@google.com --- M src/soc/intel/common/block/xdci/xdci.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/48/25848/1
diff --git a/src/soc/intel/common/block/xdci/xdci.c b/src/soc/intel/common/block/xdci/xdci.c index cc42f2c..5497e2d 100644 --- a/src/soc/intel/common/block/xdci/xdci.c +++ b/src/soc/intel/common/block/xdci/xdci.c @@ -28,7 +28,7 @@ int xdci_can_enable(void) { if (IS_ENABLED(CONFIG_VBOOT)) - return vboot_developer_mode_enabled() ? 1 : 0; + return vboot_can_enable_udc() ? 1 : 0; else return 1; }