sayma_amc: raise error on invalid variant

This commit is contained in:
Sebastien Bourdeauducq 2018-01-23 00:02:16 +08:00
parent c1ac3b66b1
commit ab7c49d6d0

View File

@ -461,6 +461,8 @@ def main():
cls = Master
elif variant == "satellite":
cls = Satellite
else:
raise SystemExit("Invalid variant (-V/--variant)")
soc = cls(with_sawg=not args.without_sawg, **soc_sdram_argdict(args))
# DRTIO variants do not use the RTM yet.