diff options
author | Mary Ruthven <mruthven@chromium.org> | 2021-11-09 14:26:26 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-11-18 04:48:28 +0000 |
commit | 2dcd3e36b1c158d4b78495942124caf2127b72ee (patch) | |
tree | ee5cf34466ebd3cc38c9630a54b7a81efde65eb4 | |
parent | 0f816491a2a1f65757a1369419400c9683ffc57e (diff) | |
download | chrome-ec-2dcd3e36b1c158d4b78495942124caf2127b72ee.tar.gz |
Revert "USB PD: Re-discover port partner when a contract was in place"
This reverts commit f8206fabf1cefaccd4e4393588ae2e3613bfb97d.
BUG=b:200823466
TEST=make buildall -j
Change-Id: I72b92488a38f65d73e76746e88f4efbc700ad5a5
Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3273389
Reviewed-by: Vadim Sukhomlinov <sukhomlinov@chromium.org>
-rw-r--r-- | common/system.c | 5 | ||||
-rw-r--r-- | include/task.h | 3 |
2 files changed, 0 insertions, 8 deletions
diff --git a/common/system.c b/common/system.c index 9dc37b668a..7c22f6ee9f 100644 --- a/common/system.c +++ b/common/system.c @@ -550,11 +550,6 @@ static void jump_to_image(uintptr_t init_addr) usleep(MSEC); gpio_set_level(GPIO_ENTERING_RW, 0); -#ifdef CONFIG_USB_PD_ALT_MODE_DFP - /* Note: must be before i2c module is locked down */ - pd_prepare_sysjump(); -#endif - #ifdef CONFIG_I2C_CONTROLLER /* Prepare I2C module for sysjump */ i2c_prepare_sysjump(); diff --git a/include/task.h b/include/task.h index 4dc00d16d5..05f599af1e 100644 --- a/include/task.h +++ b/include/task.h @@ -16,9 +16,6 @@ /* Tasks may use the bits in TASK_EVENT_CUSTOM_BIT for their own events */ #define TASK_EVENT_CUSTOM_BIT(x) BUILD_CHECK_INLINE(BIT(x), BIT(x) & 0x0ffff) -/* Used to signal that sysjump preparation has completed */ -#define TASK_EVENT_SYSJUMP_READY BIT(16) - /* Used to signal that IPC layer is available for sending new data */ #define TASK_EVENT_IPC_READY BIT(17) |