tcl/target: Select default boot core on Renesas R-Car Gen2/Gen3
authorMarek Vasut <marek.vasut@gmail.com>
Sat, 12 Jun 2021 18:48:51 +0000 (20:48 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 26 Jun 2021 13:39:22 +0000 (14:39 +0100)
commita38a0afd17d943b8bbc046f5fcfbf150871557a2
treee39314f69727807ad19ad4d4e1737a153bf4224b
parent0ef5144c32ac60ddf3bb005deb3136015e42ae4f
tcl/target: Select default boot core on Renesas R-Car Gen2/Gen3

On SMP Renesas R-Car Gen2/Gen3 systems, select the boot core as
the default target using the 'targets' command. This way, the
user can start debugging code running on the boot core without
having to switch to the boot core by explicitly invoking 'targets'
command first, since it is likely the debugged code will run on
the boot core. Note that most of the code is already in place, it
was just not used, so this is more of a fix to make the original
intention work.

Change-Id: I727808adce617c1d9ebd6ffa34f60f5882cdae60
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Reviewed-on: http://openocd.zylin.com/6313
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
tcl/target/renesas_rcar_gen2.cfg
tcl/target/renesas_rcar_gen3.cfg