From 076ea249ae47b935bea424954174f33fdecb7fcc Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Mon, 20 Apr 2015 12:46:29 -0400 Subject: 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. --- configs/common/Options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configs/common/Options.py') diff --git a/configs/common/Options.py b/configs/common/Options.py index a383b40ca..45292b249 100644 --- a/configs/common/Options.py +++ b/configs/common/Options.py @@ -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, -- cgit v1.2.3