summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFaiz Abbas <faiz_abbas@ti.com>2020-02-26 13:44:29 +0530
committerPeng Fan <peng.fan@nxp.com>2020-03-09 08:33:15 +0800
commit0d3c8584885a7c76929bfa59fa34e44a2134ae1f (patch)
tree2f732be637ab013530122f8c31c6463abc6b923b
parentbd602c536771c53d0d56273d8f7d6596425b8f5c (diff)
downloadu-boot-0d3c8584885a7c76929bfa59fa34e44a2134ae1f.tar.gz
mmc: Add a saved_clock member
Add a saved_clock member to struct mmc to store the previous clock speed in the clock needs to be stopped for some time. Signed-off-by: Faiz Abbas <faiz_abbas@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
-rw-r--r--include/mmc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mmc.h b/include/mmc.h
index 4bdeb929d7..8a9ea0bf98 100644
--- a/include/mmc.h
+++ b/include/mmc.h
@@ -605,6 +605,7 @@ struct mmc {
bool clk_disable; /* true if the clock can be turned off */
uint bus_width;
uint clock;
+ uint saved_clock;
enum mmc_voltage signal_voltage;
uint card_caps;
uint host_caps;