aspeed/smc: fix dummy cycles count when in dual IO mode
commit0721309ed77100e857a7149dd563a4d1a0d07d68
authorCédric Le Goater <clg@kaod.org>
Tue, 26 Jun 2018 16:50:39 +0000 (26 17:50 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 26 Jun 2018 16:50:39 +0000 (26 17:50 +0100)
tree4e3b2a4e709e3379535081a2e7cd96f818598662
parent0ab4c574a55448a37b9f616259b82950742c9427
aspeed/smc: fix dummy cycles count when in dual IO mode

When configured in dual I/O mode, address and data are sent in dual
mode, including the dummy byte cycles in between. Adapt the count to
the IO setting.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Message-id: 20180612065716.10587-2-clg@kaod.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/ssi/aspeed_smc.c