config: Remove memory aliases and rely on class name

Instead of maintaining two lists, rely entirely on the class
name. There is really no point in causing unecessary confusion.
This commit is contained in:
Andreas Hansson
2015-04-20 12:46:29 -04:00
parent 803e75cb07
commit 076ea249ae
3 changed files with 6 additions and 44 deletions

View File

@@ -87,7 +87,7 @@ def addCommonOptions(parser):
parser.add_option("--list-mem-types",
action="callback", callback=_listMemTypes,
help="List available memory types")
parser.add_option("--mem-type", type="choice", default="ddr3_1600_x64",
parser.add_option("--mem-type", type="choice", default="DDR3_1600_x64",
choices=MemConfig.mem_names(),
help = "type of memory to use")
parser.add_option("--mem-channels", type="int", default=1,