aboutsummaryrefslogtreecommitdiff
path: root/hw/arm
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2024-07-17 08:30:20 +0200
committerCédric Le Goater <clg@redhat.com>2024-07-21 07:46:38 +0200
commit01ea09eb7a6e8369a98fb360d2ed3bf1ecfc1753 (patch)
tree28e68a9e6af8e05acb81389069695b4624e44ba2 /hw/arm
parente554e45b447880e37538d300ac6e12111788ac4f (diff)
downloadqemu-01ea09eb7a6e8369a98fb360d2ed3bf1ecfc1753.zip
qemu-01ea09eb7a6e8369a98fb360d2ed3bf1ecfc1753.tar.gz
qemu-01ea09eb7a6e8369a98fb360d2ed3bf1ecfc1753.tar.bz2
aspeed: Add boot-from-eMMC HW strapping bit to rainier-bmc machine
This value is taken from a running Rainier machine. Signed-off-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Andrew Jeffery <andrew@codeconstruct.com.au> Tested-by: Andrew Jeffery <andrew@codeconstruct.com.au> Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'hw/arm')
-rw-r--r--hw/arm/aspeed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm/aspeed.c b/hw/arm/aspeed.c
index bc4ca17..a8f5c14 100644
--- a/hw/arm/aspeed.c
+++ b/hw/arm/aspeed.c
@@ -189,7 +189,7 @@ struct AspeedMachineState {
#define TACOMA_BMC_HW_STRAP2 0x00000040
/* Rainier hardware value: (QEMU prototype) */
-#define RAINIER_BMC_HW_STRAP1 0x00422016
+#define RAINIER_BMC_HW_STRAP1 (0x00422016 | SCU_AST2600_HW_STRAP_BOOT_SRC_EMMC)
#define RAINIER_BMC_HW_STRAP2 0x80000848
/* Fuji hardware value */