From: Cédric Le Goater Date: Wed, 17 Jul 2024 06:30:20 +0000 (+0200) Subject: aspeed: Add boot-from-eMMC HW strapping bit to rainier-bmc machine X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=01ea09eb7a6e8369a98fb360d2ed3bf1ecfc1753;p=qemu.git 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 Reviewed-by: Andrew Jeffery Tested-by: Andrew Jeffery Tested-by: Philippe Mathieu-Daudé --- diff --git a/hw/arm/aspeed.c b/hw/arm/aspeed.c index bc4ca17542..a8f5c14ae5 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 */