From ec6cff2f20559db0212b76d4560fe4ae7f99771a Mon Sep 17 00:00:00 2001
From: Joel Kitching <kitching@google.com>
Date: Thu, 5 Nov 2020 17:06:02 +0800
Subject: vboot: stop implementing VbExDisplayScreen

This function is no longer required to be implemented since
EC/AUXFW sync was decoupled from vboot UI.  (See CL:2087016.)

BUG=b:172343019
TEST=Compile locally
BRANCH=none

Signed-off-by: Joel Kitching <kitching@google.com>
Change-Id: I43e8160a4766a38c4fa14bcf4495fc719fbcd6c2
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47233
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
---
 src/security/vboot/ec_sync.c | 16 ----------------
 1 file changed, 16 deletions(-)

(limited to 'src/security')

diff --git a/src/security/vboot/ec_sync.c b/src/security/vboot/ec_sync.c
index 97b8ed9338..1fd7e7590b 100644
--- a/src/security/vboot/ec_sync.c
+++ b/src/security/vboot/ec_sync.c
@@ -12,7 +12,6 @@
 #include <timer.h>
 #include <timestamp.h>
 #include <vb2_api.h>
-#include <vboot_api.h>  /* for VbExDisplayScreen() and VbScreenData */
 
 #define _EC_FILENAME(select, suffix) \
 	(select == VB_SELECT_FIRMWARE_READONLY ? "ecro" suffix : "ecrw" suffix)
@@ -401,21 +400,6 @@ static vb2_error_t ec_get_expected_hash(enum vb2_firmware_selection select,
  * Vboot Callbacks
  ***********************************************************************/
 
-/*
- * Unsupported.
- *
- * coreboot does not support the graphics initialization needed to
- * display the vboot "wait" screens, etc., because the use case for
- * supporting software sync early in the boot flow is to be able to
- * quickly update the EC and/or sysjump to RW earlier so that USB-PD
- * power (> 15 W) can be negotiated for earlier.
- */
-vb2_error_t VbExDisplayScreen(uint32_t screen_type, uint32_t locale,
-			      const VbScreenData *data)
-{
-	return VB2_ERROR_UNKNOWN;
-}
-
 /*
  * Write opaque data into NV storage region.
  */
-- 
cgit v1.2.3