[coreboot-gerrit] Change in coreboot[master]: soc/intel/common/block/xdci: Use vboot_can_enable_udc in xdci_can_enable

Furquan Shaikh (Code Review) gerrit at coreboot.org
Thu Apr 26 04:12:17 CEST 2018


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 at 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;
 }

-- 
To view, visit https://review.coreboot.org/25848
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia83b91ce17eec782faf5bb318ad8c00c09e2db05
Gerrit-Change-Number: 25848
Gerrit-PatchSet: 1
Gerrit-Owner: Furquan Shaikh <furquan at google.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180426/860e1a28/attachment.html>


More information about the coreboot-gerrit mailing list