From: Giacomo Travaglini <giacomo.travaglini@arm.com>
Date: Fri, 20 Mar 2020 16:27:48 +0000 (+0000)
Subject: configs: Use ArmFsWorkload for Arm baremetal
X-Git-Tag: v20.0.0.0~264
X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bf38808666a11272bee9fa6290cf8bc4afb03d69;p=gem5.git

configs: Use ArmFsWorkload for Arm baremetal

Change-Id: Ie6bfdd9b30438bc6eaf22bc79dcc1690ffa039be
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/26991
Tested-by: Gem5 Cloud Project GCB service account <345032938727@cloudbuild.gserviceaccount.com>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
---

diff --git a/configs/common/FSConfig.py b/configs/common/FSConfig.py
index 3ae00ad02..41b70d710 100644
--- a/configs/common/FSConfig.py
+++ b/configs/common/FSConfig.py
@@ -256,6 +256,7 @@ def makeArmSystem(mem_mode, machine_type, num_cpus=1, mdesc=None,
     if bare_metal:
         # EOT character on UART will end the simulation
         self.realview.uart[0].end_on_eot = True
+        self.workload = ArmFsWorkload(atags_addr=0)
     else:
         workload = ArmFsLinux()