aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2025-06-18 23:58:50 -0400
committerCédric Le Goater <clg@redhat.com>2025-07-03 13:41:57 +0200
commit126c56b067d6a68840542f8dc7afdec9b69caa83 (patch)
treec039b465f9fc1a62dbfbe7749a6adefe66bece39
parenta6ca5dfccc2b584d2f7bf31fb488fc178e967972 (diff)
downloadqemu-126c56b067d6a68840542f8dc7afdec9b69caa83.zip
qemu-126c56b067d6a68840542f8dc7afdec9b69caa83.tar.gz
qemu-126c56b067d6a68840542f8dc7afdec9b69caa83.tar.bz2
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 <patrick@stwcx.xyz> Reviewed-by: Cédric Le Goater <clg@redhat.com> Link: https://lore.kernel.org/qemu-devel/20250619035850.2682690-1-patrick@stwcx.xyz Signed-off-by: Cédric Le Goater <clg@redhat.com>
-rw-r--r--hw/arm/aspeed.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/hw/arm/aspeed.c b/hw/arm/aspeed.c
index d0b3336..5662cb2 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