aboutsummaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2020-02-06 12:17:13 +0100
committerOleksij Rempel <linux@rempel-privat.de>2020-03-02 15:32:23 +0000
commitd55bcde16c54bbc76f5b670c076ce6c24a34faaa (patch)
tree656b32d74e0d628268005feb1df4d792d466ed13 /tcl
parent0b7eca17691a16e79881243d6d0f38c3eaeb360d (diff)
tcl/target: Abort on invalid SoC selection on R-Car Gen3
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>
Diffstat (limited to 'tcl')
-rw-r--r--tcl/target/renesas_rcar_gen3.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcl/target/renesas_rcar_gen3.cfg b/tcl/target/renesas_rcar_gen3.cfg
index 2c478b26..34c19182 100644
--- a/tcl/target/renesas_rcar_gen3.cfg
+++ b/tcl/target/renesas_rcar_gen3.cfg
@@ -76,7 +76,7 @@ switch $_soc {
set _boot_core CA53
}
default {
- echo "'$_soc' is invalid!"
+ error "'$_soc' is invalid!"
}
}