configs: Use ArmFsWorkload for Arm baremetal
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 20 Mar 2020 16:27:48 +0000 (16:27 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Wed, 25 Mar 2020 14:43:31 +0000 (14:43 +0000)
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>

configs/common/FSConfig.py

index 3ae00ad0261a7f84d8b71e1bed88e841d8b9a868..41b70d710cd8c08eaed2c16db1b7246c39783706 100644 (file)
@@ -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()