Skip to contentSkip to conversation

hw/arm/aspeed: bletchley: update hw strap values

PATCH In review Patrick Williams 2 participants 2 messages Jun 19, 2025 Arm/Aspeed machine support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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
```
---
 hw/arm/aspeed.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
hw/arm/aspeed.c +2 -3
index b0965ef8a0..94897505f8 100644
@@ -198,9 +198,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
Signature · 1 line
2.49.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 20 lines · Patrick Williams

Update the Bletchley hardware strap register values per actual hardware:

```
root@bmc:~# devmem 0x1e6e2500
0x00002000
root@bmc:~# devmem 0x1e6e2510
0x00000801
```
---
  hw/arm/aspeed.c | 5 ++---
  1 file changed, 2 insertions(+), 3 deletions(-)
hw/arm/aspeed.c +0 -0
index b0965ef8a0..94897505f8 100644
@@ -198,9 +198,8 @@ struct AspeedMachineState {
  #define FUJI_BMC_HW_STRAP2    0x00000000

hw/arm/aspeed.c struct AspeedMachineState { · line 205

Quoted 10 lines
hw/arm/aspeed.c +2 -3
 
  /* 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

Thanks,

C.