hw/arm/aspeed_ast27x0-fc: Fix hardware strap settings
The hardware strap settings in the AST2700 FC machine model were incorrect. Update HW_STRAP1 and HW_STRAP2 to match the values observed from the real EVB dump. These values are also consistent with the current aspeed_ast27x0_evb.c machine setup. Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@redhat.com> Link: https://lore.kernel.org/qemu-devel/20260706052701.1141740-2-jamin_lin@aspeedtech.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
Jamin Lin committed
Jul 6, 2026 at 05:27 UTC
5c03a6501ba82d6d4051eae088012a00ac56142e
1 file changed
+4
-2
hw/arm/aspeed_ast27x0-fc.c
+4
-2
@@ -50,8 +50,10 @@ struct Ast2700FCState {
50
51
#define AST2700FC_BMC_RAM_SIZE (2 * GiB)
52
53
-#define AST2700FC_HW_STRAP1 0x000000C0
54
-#define AST2700FC_HW_STRAP2 0x00000003
53
+/* SCU HW Strap1 */
54
+#define AST2700FC_HW_STRAP1 0x00000800
55
+/* SCUIO HW Strap1 */
56
+#define AST2700FC_HW_STRAP2 0x00000700
57
#define AST2700FC_FMC_MODEL "w25q01jvq"
58
#define AST2700FC_SPI_MODEL "w25q512jv"
59