tcl: stm32mp15x: fix "reset halt" on CM4 in engineering boot
authorAntonio Borneo <borneo.antonio@gmail.com>
Tue, 5 May 2020 16:11:47 +0000 (18:11 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 9 May 2020 13:36:27 +0000 (14:36 +0100)
commit2a8303b0bd1ea10b1a60891cbff24d717a985f6f
tree2b54f15d7497fd443a419d284521e079b2487971
parentfdad56ecb02e072245bbcf86d9a6b506149c6a25
tcl: stm32mp15x: fix "reset halt" on CM4 in engineering boot

The state machine of cortex-m have to pass through a set of state
before it get in "halted".

Add one more "arp_poll" to achieve the proper state during a
"reset halt" command in engineering boot.

Change-Id: I90828bf20ef75bd4018f8b911f727ae69c4d6e8f
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5649
Tested-by: jenkins
Reviewed-by: Richard Braun <rbraun@sceen.net>
tcl/target/stm32mp15x.cfg