diff options
-rw-r--r-- | common/system.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/system.c b/common/system.c index a4d18c350d..1e8bfe15a5 100644 --- a/common/system.c +++ b/common/system.c @@ -596,7 +596,7 @@ static void jump_to_image(uintptr_t init_addr) * check whether PD tasks have started (instead of VBOOT_EFS2, which * is static). */ - if (task_start_called() && IS_ENABLED(CONFIG_USB_PD_ALT_MODE_DFP)) + if (IS_ENABLED(CONFIG_USB_PD_ALT_MODE_DFP) && task_start_called()) /* Note: must be before i2c module is locked down */ pd_prepare_sysjump(); |