firmware/2lib: Refactor ec_sync_phase1 for clarity

This commit refactors ec_sync_phase1 to directly call ec_sync_allowed
for EC sync prerequisite checks. This improves code organization and
readability.

BUG=b:395038430
TEST=Built and booted google/fatcat.

Change-Id: I4b78cb25238c0e606806238f9b08d569a24c387a
Signed-off-by: Subrata Banik <[email protected]>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/6242479
Tested-by: Subrata Banik <[email protected]>
Commit-Queue: Subrata Banik <[email protected]>
Reviewed-by: Julius Werner <[email protected]>
1 file changed