configs: Unnecessary iteration on baremetal.py and starter_fs.py
The code is actually wrong and at the moment it works simply because those scripts are instantiating a single cluster only Change-Id: Ie756320707f6fdb2039567afd53b966a9386715b Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/42863 Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> Maintainer: Jason Lowe-Power <power.jg@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -135,8 +135,7 @@ def create(args):
|
||||
# Create a cache hierarchy for the cluster. We are assuming that
|
||||
# clusters have core-private L1 caches and an L2 that's shared
|
||||
# within the cluster.
|
||||
for cluster in system.cpu_cluster:
|
||||
system.addCaches(want_caches, last_cache_level=2)
|
||||
system.addCaches(want_caches, last_cache_level=2)
|
||||
|
||||
# Setup gem5's minimal Linux boot loader.
|
||||
system.auto_reset_addr = True
|
||||
|
||||
@@ -138,8 +138,7 @@ def create(args):
|
||||
# Create a cache hierarchy for the cluster. We are assuming that
|
||||
# clusters have core-private L1 caches and an L2 that's shared
|
||||
# within the cluster.
|
||||
for cluster in system.cpu_cluster:
|
||||
system.addCaches(want_caches, last_cache_level=2)
|
||||
system.addCaches(want_caches, last_cache_level=2)
|
||||
|
||||
# Setup gem5's minimal Linux boot loader.
|
||||
system.realview.setupBootLoader(system, SysPaths.binary)
|
||||
|
||||
Reference in New Issue
Block a user