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>
This commit is contained in:
Marek Vasut 2020-02-06 12:17:13 +01:00 committed by Oleksij Rempel
parent 0b7eca1769
commit d55bcde16c
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ switch $_soc {
set _boot_core CA53
}
default {
echo "'$_soc' is invalid!"
error "'$_soc' is invalid!"
}
}