soc_core: avoid manual listing of support CPUs, just use CPU.keys()
This commit is contained in:
parent
9095b80e89
commit
68ba1c60be
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue