hw/arm/aspeed: bletchley: update hw strap values
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 ```
Signed-off-by Patrick Williams <[email protected]>
--- hw/arm/aspeed.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
hw/arm/aspeed.c +2 -3
@@ -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
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 ```Signed-off-by Patrick Williams <[email protected]>--- hw/arm/aspeed.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)hw/arm/aspeed.c +0
-0@@ -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
Reviewed-by Cédric Le Goater <[email protected]>
Thanks,
C.