This is an automated email from Gerrit.

"Tomas Vanek <[email protected]>" just uploaded a new patch set to Gerrit, which 
you can find at https://review.openocd.org/c/openocd/+/9128

-- gerrit

commit bd84210c89afd940e007d92afa064babdcbf1a4d
Author: Tomas Vanek <[email protected]>
Date:   Sun Sep 14 21:54:30 2025 +0200

    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 <[email protected]>

diff --git a/tcl/target/stm32g4x.cfg b/tcl/target/stm32g4x.cfg
index 39ed1e3818..54b20eee5e 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

-- 

Reply via email to