2ec_sync: Reactivate VB2_CONTEXT_EC_SYNC_SLOW

With EFS2, the boot flow for EC sync is usually:

Boot 0: Initial boot with EC in RW. AP requests EC reset for EC sync.
Boot 1: EC reboots to RO. AP wants to perform EC sync, but display isn't
        initialized. Therefore, AP sets VB2_NV_DISPLAY_REQUEST and
	reboot.
Boot 2: EC is still in RO. AP sees VB2_NV_DISPLAY_REQUEST and
        initializes display. Then, AP shows EC sync screen and performs
	EC sync.

The reboot for VB2_NV_DISPLAY_REQUEST can actually be avoided, because
in boot 0 above it's already known that we're going to do EC sync in the
next boot.

To save us one reboot, reactivate the VB2_CONTEXT_EC_SYNC_SLOW flag.
When the flag is set, VB2_NV_DISPLAY_REQUEST will be set at the end of
boot 0, right before EC reset.

BUG=b:350885214
TEST=make run2tests
TEST=emerge-geralt libpayload depthcharge
BRANCH=none

Change-Id: I1eaae4a7219f4e755e83e3478684b74f894cbfc2
Signed-off-by: Yu-Ping Wu <yupingso@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/5676957
Reviewed-by: Julius Werner <jwerner@chromium.org>
4 files changed