OSDN Git Service

sdhci: add i.MX SD Stable Clock bit
authorHans-Erik Floryd <hans-erik.floryd@rt-labs.com>
Mon, 20 Aug 2018 10:24:32 +0000 (11:24 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 20 Aug 2018 10:24:32 +0000 (11:24 +0100)
commit6bfd06da6e3b293c9d7f561ea6afc857267c9ecd
tree41f239f2b87e81a2ab8ad448fe9c21edd501ad36
parent22907d2b81c4702c0d226ad1364605dc9adac232
sdhci: add i.MX SD Stable Clock bit

Add the ESDHC PRSSTAT_SDSTB bit, using the value of SDHC_CLOCK_INT_STABLE.
Freescale recommends checking this bit when changing clock frequency.

Signed-off-by: Hans-Erik Floryd <hans-erik.floryd@rt-labs.com>
Message-id: 1534507843-4251-1-git-send-email-hans-erik.floryd@rt-labs.com
[PMM: fixed indentation]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/sd/sdhci-internal.h
hw/sd/sdhci.c