aboutsummaryrefslogtreecommitdiff
path: root/hw/ssi
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2020-09-01 14:21:50 +0200
committerCédric Le Goater <clg@kaod.org>2020-09-01 14:21:50 +0200
commit9b9624714c979e05bb99065966c362b0315b490a (patch)
tree45f4dd6cd3cbcae57efb94b7bd0eabf3cce073fa /hw/ssi
parent0d3119edd026adde74aeddbb67c20a7822dea86d (diff)
downloadqemu-9b9624714c979e05bb99065966c362b0315b490a.zip
qemu-9b9624714c979e05bb99065966c362b0315b490a.tar.gz
qemu-9b9624714c979e05bb99065966c362b0315b490a.tar.bz2
aspeed/smc: Fix max_slaves of the legacy SMC device
The legacy controller only has one slave. Reviewed-by: Joel Stanley <joel@jms.id.au> Message-Id: <20200819100956.2216690-8-clg@kaod.org> Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'hw/ssi')
-rw-r--r--hw/ssi/aspeed_smc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ssi/aspeed_smc.c b/hw/ssi/aspeed_smc.c
index 0646e0d..8c79a55 100644
--- a/hw/ssi/aspeed_smc.c
+++ b/hw/ssi/aspeed_smc.c
@@ -259,7 +259,7 @@ static const AspeedSMCController controllers[] = {
.r_timings = R_TIMINGS,
.nregs_timings = 1,
.conf_enable_w0 = CONF_ENABLE_W0,
- .max_slaves = 5,
+ .max_slaves = 1,
.segments = aspeed_segments_legacy,
.flash_window_base = ASPEED_SOC_SMC_FLASH_BASE,
.flash_window_size = 0x6000000,