ec/google/chromeec: Skip TCSS `wait_for_connection` for AP mode entry
Skip TCSS `wait_for_connection` for AP initiated mode entry. BUG=b:247670186 TEST=Verify display over TCSS and its impact on boot time for google/rex Signed-off-by: Kapil Porwal <kapilporwal@google.com> Change-Id: Ia04ff470961831237fe851f7ae3feaa5623d4b4a Reviewed-on: https://review.coreboot.org/c/coreboot/+/76368 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com>
This commit is contained in:
parent
c2c5801dcd
commit
9a127bf2d1
|
@ -1352,6 +1352,11 @@ int google_chromeec_wait_for_displayport(long timeout_ms)
|
|||
struct stopwatch sw;
|
||||
int ret = 0;
|
||||
|
||||
if (google_chromeec_check_feature(EC_FEATURE_TYPEC_REQUIRE_AP_MODE_ENTRY)) {
|
||||
printk(BIOS_INFO, "AP Mode Entry enabled, skip waiting for DisplayPort connection\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
printk(BIOS_INFO, "Waiting for DisplayPort\n");
|
||||
stopwatch_init_msecs_expire(&sw, timeout_ms);
|
||||
while (1) {
|
||||
|
|
Loading…
Reference in New Issue