From: Patrick Williams Date: Thu, 19 Jun 2025 03:58:50 +0000 (-0400) Subject: hw/arm/aspeed: bletchley: update hw strap values X-Git-Tag: v10.1.0-rc0~34^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=126c56b067d6a68840542f8dc7afdec9b69caa83;p=thirdparty%2Fqemu.git hw/arm/aspeed: bletchley: update hw strap values Update the Bletchley hardware strap register values per actual hardware: ``` root@bmc:~# devmem 0x1e6e2500 0x00002000 root@bmc:~# devmem 0x1e6e2510 0x00000801 ``` Signed-off-by: Patrick Williams Reviewed-by: Cédric Le Goater Link: https://lore.kernel.org/qemu-devel/20250619035850.2682690-1-patrick@stwcx.xyz Signed-off-by: Cédric Le Goater --- diff --git a/hw/arm/aspeed.c b/hw/arm/aspeed.c index d0b333646e9..5662cb2c4a7 100644 --- a/hw/arm/aspeed.c +++ b/hw/arm/aspeed.c @@ -197,9 +197,8 @@ struct AspeedMachineState { #define FUJI_BMC_HW_STRAP2 0x00000000 /* Bletchley hardware value */ -/* TODO: Leave same as EVB for now. */ -#define BLETCHLEY_BMC_HW_STRAP1 AST2600_EVB_HW_STRAP1 -#define BLETCHLEY_BMC_HW_STRAP2 AST2600_EVB_HW_STRAP2 +#define BLETCHLEY_BMC_HW_STRAP1 0x00002000 +#define BLETCHLEY_BMC_HW_STRAP2 0x00000801 /* Qualcomm DC-SCM hardware value */ #define QCOM_DC_SCM_V1_BMC_HW_STRAP1 0x00000000