From c168761983c50a28d2c8439fdded31dd7ec09300 Mon Sep 17 00:00:00 2001 From: Tomas Vanek Date: Sun, 14 Sep 2025 21:54:30 +0200 Subject: [PATCH] tcl/target/stm32g4x: drop useless reset-start event There is no boost of adapter speed in reset-init event so it's not necessary to set back the safe speed in reset-start Change-Id: I8b78442471390f7183c39d67b29788cccc98d018 Signed-off-by: Tomas Vanek Reviewed-on: https://review.openocd.org/c/openocd/+/9128 Tested-by: jenkins Reviewed-by: Antonio Borneo Reviewed-by: zapb Reviewed-by: Ahmed Haoues --- tcl/target/stm32g4x.cfg | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tcl/target/stm32g4x.cfg b/tcl/target/stm32g4x.cfg index 39ed1e381..54b20eee5 100644 --- a/tcl/target/stm32g4x.cfg +++ b/tcl/target/stm32g4x.cfg @@ -83,11 +83,6 @@ $_TARGETNAME configure -event reset-init { mmw 0x40021008 0x00000001 0x00000002 ;# RCC_CFGR: SW=HSI16 } -$_TARGETNAME configure -event reset-start { - # Reset clock is HSI (16 MHz) - adapter speed 2000 -} - $_TARGETNAME configure -event examine-end { # DBGMCU_CR |= DBG_STANDBY | DBG_STOP | DBG_SLEEP mmw 0xE0042004 0x00000007 0