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>
This commit is contained in:
parent
0d3119edd0
commit
9b9624714c
@ -259,7 +259,7 @@ static const AspeedSMCController controllers[] = {
|
|||||||
.r_timings = R_TIMINGS,
|
.r_timings = R_TIMINGS,
|
||||||
.nregs_timings = 1,
|
.nregs_timings = 1,
|
||||||
.conf_enable_w0 = CONF_ENABLE_W0,
|
.conf_enable_w0 = CONF_ENABLE_W0,
|
||||||
.max_slaves = 5,
|
.max_slaves = 1,
|
||||||
.segments = aspeed_segments_legacy,
|
.segments = aspeed_segments_legacy,
|
||||||
.flash_window_base = ASPEED_SOC_SMC_FLASH_BASE,
|
.flash_window_base = ASPEED_SOC_SMC_FLASH_BASE,
|
||||||
.flash_window_size = 0x6000000,
|
.flash_window_size = 0x6000000,
|
||||||
|
Loading…
Reference in New Issue
Block a user