Skip to content

Commit

Permalink
common/usbpd/tps65987.c: skip usbpd_set_multiport_policy
Browse files Browse the repository at this point in the history
port reset causes Dasharo/dasharo-issues#1169

Signed-off-by: Michał Kopeć <[email protected]>
  • Loading branch information
mkopec committed Dec 20, 2024
1 parent 2812937 commit 368e08e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/board/system76/common/usbpd/tps65987.c
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,11 @@ void usbpd_event(void) {
usbpd_dbfg();
#ifdef USBPD_DUAL_PORT
// This resets the PD port so it has to be done after dbfg
usbpd_set_multiport_policy();
// TODO: Calling this causes PD reset which in turn causes a race
// condition in PMC, preventing boot.
// Instead of runtime patching, perform a full EEPROM update in
// coreboot.
//usbpd_set_multiport_policy();
#endif
}
last_power_state = power_state;
Expand Down

0 comments on commit 368e08e

Please sign in to comment.