From 368e08e098fac64b1b2c8d5ecfa68e80281b57ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Kope=C4=87?= Date: Fri, 20 Dec 2024 17:16:23 +0100 Subject: [PATCH] common/usbpd/tps65987.c: skip usbpd_set_multiport_policy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit port reset causes https://github.com/Dasharo/dasharo-issues/issues/1169 Signed-off-by: Michał Kopeć --- src/board/system76/common/usbpd/tps65987.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/board/system76/common/usbpd/tps65987.c b/src/board/system76/common/usbpd/tps65987.c index 3878140c1..b6a20a05f 100644 --- a/src/board/system76/common/usbpd/tps65987.c +++ b/src/board/system76/common/usbpd/tps65987.c @@ -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;