aspeed/smc: rework the prototype of the AspeedSMCFlash helper routines
commitf248a9dbd0cfb9f577f7cb6f799497c51690054a
authorCédric Le Goater <clg@kaod.org>
Fri, 20 Jan 2017 11:15:07 +0000 (20 11:15 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 20 Jan 2017 11:15:07 +0000 (20 11:15 +0000)
treed563350e0df1763969f832639ef12eeced33a011
parent1d247bd0791c83774029ba5a8f29521e2025c302
aspeed/smc: rework the prototype of the AspeedSMCFlash helper routines

Change the routines prototype to use a 'AspeedSMCFlash *' instead of
'AspeedSMCState *'. The result will help in making future changes
clearer.

Also change aspeed_smc_update_cs() which uselessly loops on all slave
devices to update their status.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Message-id: 1483979087-32663-4-git-send-email-clg@kaod.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/ssi/aspeed_smc.c