summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorGiacomo Travaglini <giacomo.travaglini@arm.com>2019-11-26 16:19:11 +0000
committerGiacomo Travaglini <giacomo.travaglini@arm.com>2019-11-27 09:41:57 +0000
commit5441dd19ed410f5d60da409de5ffb9c508d368c6 (patch)
tree71536e2f47de0c8e4cbc7030cfb24955741064eb /configs
parent50768bb9580066bb5982d4b4e62b974d72d24746 (diff)
downloadgem5-5441dd19ed410f5d60da409de5ffb9c508d368c6.tar.xz
configs: Fix baremetal platform
With 224da08be767b51e8148e5f3e6e0da2e2ea77add some MemConfig functionalities have been moved to the ObjectList module Change-Id: Iab073b6f8be5a5ea0e49e8974960d7734a5640ba Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23083 Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br> Maintainer: Jason Lowe-Power <jason@lowepower.com> Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'configs')
-rw-r--r--configs/example/arm/baremetal.py3
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")