projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d3119e
)
aspeed/smc: Fix max_slaves of the legacy SMC device
author
Cédric Le Goater
<clg@kaod.org>
Tue, 1 Sep 2020 12:21:50 +0000
(14:21 +0200)
committer
Cédric Le Goater
<clg@kaod.org>
Tue, 1 Sep 2020 12:21:50 +0000
(14:21 +0200)
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>
hw/ssi/aspeed_smc.c
patch
|
blob
|
history
diff --git
a/hw/ssi/aspeed_smc.c
b/hw/ssi/aspeed_smc.c
index 0646e0dca72e0571853e3faa731eef1376b1f668..8c79a5552f93426eb62c4291ed225e6839f469e7 100644
(file)
--- 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,