Commit 904a9f536f for qemu.org
commit 904a9f536fc52ce37cd72acd55cb9a70266b6c02
Author: Emmanuel Blot <emmanuel.blot@free.fr>
Date: Thu Oct 15 11:27:50 2026 +0200
hw/arm: sanmiguel: remove the second SPI flash controller
The board only populates the flash device attached to the FMC
controller; the SoC SPI controllers are left unused. Advertising a
part there presents the guest with a flash device the hardware does
not have.
While here, add the missing year to the copyright line.
Reviewed-by: Jamin Lin <jaminlin1207@gmail.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Emmanuel Blot <emmanuel.blot@free.fr>
Link: https://lore.kernel.org/qemu-devel/20261015-bmc-minerva-v3-3-7d50c8a108e5@free.fr
Signed-off-by: Cédric Le Goater <clg@redhat.com>
diff --git a/hw/arm/aspeed_ast2600_sanmiguel.c b/hw/arm/aspeed_ast2600_sanmiguel.c
index 345a9c9416..ac2aef740a 100644
--- a/hw/arm/aspeed_ast2600_sanmiguel.c
+++ b/hw/arm/aspeed_ast2600_sanmiguel.c
@@ -1,7 +1,7 @@
/*
* Facebook SanMiguel BMC
*
- * Copyright (c) Meta Platforms, Inc. and affiliates.
+ * Copyright (c) 2026 Meta Platforms, Inc. and affiliates.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
@@ -384,7 +384,7 @@ static void aspeed_machine_sanmiguel_class_init(ObjectClass *oc,
amc->hw_strap1 = SANMIGUEL_BMC_HW_STRAP1;
amc->hw_strap2 = SANMIGUEL_BMC_HW_STRAP2;
amc->fmc_model = "mx66l1g45g";
- amc->spi_model = "mx66l1g45g";
+ amc->spi_model = NULL;
amc->num_cs = 2;
amc->macs_mask = ASPEED_MAC0_ON;
amc->i2c_init = sanmiguel_bmc_i2c_init;