diff options
Diffstat (limited to 'configs/example')
-rw-r--r-- | configs/example/arm/baremetal.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configs/example/arm/baremetal.py b/configs/example/arm/baremetal.py index 100568f08..7326b0a1d 100644 --- a/configs/example/arm/baremetal.py +++ b/configs/example/arm/baremetal.py @@ -57,6 +57,7 @@ m5.util.addToPath('../..') from common import SysPaths from common import MemConfig +from common import ObjectList from common.cores.arm import HPI import devices @@ -191,7 +192,7 @@ def main(): parser.add_argument("--num-cores", type=int, default=1, help="Number of CPU cores") parser.add_argument("--mem-type", default="DDR3_1600_8x8", - choices=MemConfig.mem_names(), + choices=ObjectList.mem_list.get_names(), help = "type of memory to use") parser.add_argument("--mem-channels", type=int, default=1, help = "number of memory channels") |