arch-arm: Fix Arch detection in FS if there is not bootloader
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Thu, 12 Mar 2020 15:45:33 +0000 (15:45 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 13 Mar 2020 10:26:53 +0000 (10:26 +0000)
commitf3740b3bf98ca156b9252544aa30cf57d3e145a0
tree2f1f1dae5b3362810fdead17d210d93d385693d5
parentf5e1e1b854499aa11ec1aba1b8fd60a32be0ea50
arch-arm: Fix Arch detection in FS if there is not bootloader

In case a workload is run with no bootloader we still want to be able
to provide the simulation with the correct arch version.
Without this patch every baremetal simulation will default to AArch64, which
is the default value of ArmFsWorkload.

Change-Id: I0f766167d8983cafc1fd30d054862339eb21f73f
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/26606
Reviewed-by: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/fs_workload.cc