diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2015-04-20 12:46:29 -0400 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2015-04-20 12:46:29 -0400 |
commit | 076ea249ae47b935bea424954174f33fdecb7fcc (patch) | |
tree | f57b66ec35776515b82bc5f640780f3c0c3e5031 /configs/common/Options.py | |
parent | 803e75cb079f981392bb75feae05dfa343013446 (diff) | |
download | gem5-076ea249ae47b935bea424954174f33fdecb7fcc.tar.xz |
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.
Diffstat (limited to 'configs/common/Options.py')
-rw-r--r-- | configs/common/Options.py | 2 |
1 files changed, 1 insertions, 1 deletions
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, |