]> git.gag.com Git - fw/openocd/commitdiff
tcl/target: Abort on invalid SoC selection on R-Car Gen3
authorMarek Vasut <marek.vasut@gmail.com>
Thu, 6 Feb 2020 11:17:13 +0000 (12:17 +0100)
committerOleksij Rempel <linux@rempel-privat.de>
Mon, 2 Mar 2020 15:32:23 +0000 (15:32 +0000)
Instead of printing error message and continue, abort on invalid SoC
selection right away.

Change-Id: I9c7a7111b590c6c49a0826562380b881a162a8dc
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Reviewed-on: http://openocd.zylin.com/5439
Tested-by: jenkins
Reviewed-by: Oleksij Rempel <linux@rempel-privat.de>
tcl/target/renesas_rcar_gen3.cfg

index 2c478b2685a67446df1bdb5f93203f3f5b77818b..34c191827b4e5ab3553468b10187d7421f30c68e 100644 (file)
@@ -76,7 +76,7 @@ switch $_soc {
                set _boot_core CA53
        }
        default {
-               echo "'$_soc' is invalid!"
+               error "'$_soc' is invalid!"
        }
 }