soc_core: avoid manual listing of support CPUs, just use CPU.keys()

This commit is contained in:
Florent Kermarrec 2019-09-28 19:04:38 +02:00
parent 9095b80e89
commit 68ba1c60be
1 changed files with 1 additions and 1 deletions

View File

@ -548,7 +548,7 @@ class SoCCore(Module):
def soc_core_args(parser):
parser.add_argument("--cpu-type", default=None,
help="select CPU: lm32, or1k, picorv32, vexriscv, minerva, rocket")
help="select CPU: {}".format(", ".join(iter(cpu.CPUS.keys()))))
parser.add_argument("--cpu-variant", default=None,
help="select CPU variant")
parser.add_argument("--integrated-rom-size", default=None, type=int,