[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 4/7] aspeed: rainier: Add strap values taken from hardware
From: |
Cédric Le Goater |
Subject: |
[PULL 4/7] aspeed: rainier: Add strap values taken from hardware |
Date: |
Mon, 28 Feb 2022 08:12:36 +0100 |
From: Joel Stanley <joel@jms.id.au>
When time permits, we should introduce defines for the HW strapping
registers to cleanly decode the values.
SCU500 = 0x00422016
Disable ARM JTAG trusted world debug: 0x1
Disable ARM JTAG debug: 0x1
VGA Memory Size: 0x1 [16MB]
Cortex M3: 0x1 [Disabled]
Boot device: 0x1 [eMMC]
Reserved: 0x1
SCU510 = 0x80000848
Secure Boot Enable: 0x1
Enable boot SPI or eMMC ABR (second boot): 0x1
Enable LPC mode: 0x1 [LPC]
Disable LPC SuperIO 0x2e/0x4e: 0x1
Signed-off-by: Joel Stanley <joel@jms.id.au>
[ clg: rewrote the commit log ]
Signed-off-by: Cédric Le Goater <clg@kaod.org>
---
hw/arm/aspeed.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/arm/aspeed.c b/hw/arm/aspeed.c
index 7590b36bb017..f71a5d87473f 100644
--- a/hw/arm/aspeed.c
+++ b/hw/arm/aspeed.c
@@ -160,8 +160,8 @@ struct AspeedMachineState {
#define TACOMA_BMC_HW_STRAP2 0x00000040
/* Rainier hardware value: (QEMU prototype) */
-#define RAINIER_BMC_HW_STRAP1 0x00000000
-#define RAINIER_BMC_HW_STRAP2 0x00000000
+#define RAINIER_BMC_HW_STRAP1 0x00422016
+#define RAINIER_BMC_HW_STRAP2 0x80000848
/* Fuji hardware value */
#define FUJI_BMC_HW_STRAP1 0x00000000
--
2.34.1
- [PULL 0/7] aspeed queue, Cédric Le Goater, 2022/02/28
- [PULL 1/7] arm: Remove swift-bmc machine, Cédric Le Goater, 2022/02/28
- [PULL 2/7] ast2600: Add Secure Boot Controller model, Cédric Le Goater, 2022/02/28
- [PULL 5/7] aspeed: Introduce a create_pca9552() helper, Cédric Le Goater, 2022/02/28
- [PULL 4/7] aspeed: rainier: Add strap values taken from hardware,
Cédric Le Goater <=
- [PULL 3/7] aspeed: rainier: Add i2c LED devices, Cédric Le Goater, 2022/02/28
- [PULL 7/7] aspeed/sdmc: Add trace events, Cédric Le Goater, 2022/02/28
- [PULL 6/7] aspeed/smc: Add an address mask on segment registers, Cédric Le Goater, 2022/02/28