OSDN Git Service

aspeed: sdmc: Implement AST2600 locking behaviour
authorJoel Stanley <joel@jms.id.au>
Tue, 5 May 2020 09:01:36 +0000 (18:31 +0930)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 11 May 2020 10:00:37 +0000 (11:00 +0100)
commitf4ab4f8e772700dcef1c99b75b0704bd5ca96b6a
tree9e6a89bcdb99a70cb550b2da0d68652ea15d52f3
parent7582591ae745f224a58fd9a36e3b9230fb03bfc2
aspeed: sdmc: Implement AST2600 locking behaviour

The AST2600 handles this differently with the extra 'hardlock' state, so
move the testing to the soc specific class' write callback.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Message-id: 20200505090136.341426-1-joel@jms.id.au
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/misc/aspeed_sdmc.c