OSDN Git Service

aspeed_sdmc: Set 'cache initial sequence' always true
authorJoel Stanley <joel@jms.id.au>
Thu, 16 Aug 2018 13:05:29 +0000 (14:05 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 16 Aug 2018 13:29:58 +0000 (14:29 +0100)
commitb33f1e0b8921c95d744880e9f963b16a00653cad
tree9956f930aa2fc6f745f19989c56e48f7590f373d
parentd131bc28a6094191471fb935a0535ae5a4df4ab3
aspeed_sdmc: Set 'cache initial sequence' always true

The SDRAM training routine sets the 'Enable cache initial' bit, and then
waits for the 'cache initial sequence' to be done.

Have it always return done, as there is no other side effects that the
model needs to implement. This allows the upstream u-boot training to
proceed on the ast2500-evb board.

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