artiq_flash: treat all variants ending in `satellite` as such

This commit is contained in:
Robert Jördens 2018-08-29 17:33:05 +00:00
parent fbf05db5ab
commit b58ec2d78e
1 changed files with 1 additions and 1 deletions

View File

@ -344,7 +344,7 @@ def main():
storage_img = args.storage storage_img = args.storage
programmer.write_binary(*config["storage"], storage_img) programmer.write_binary(*config["storage"], storage_img)
elif action == "firmware": elif action == "firmware":
if variant == "satellite": if variant.endswith("satellite"):
firmware = "satman" firmware = "satman"
else: else:
firmware = "runtime" firmware = "runtime"