diff mbox series

[v3,01/11] mmc: Add a saved_clock member

Message ID 20200226081439.15994-2-faiz_abbas@ti.com
State Superseded
Headers show
Series Add Support for eMMC boot in AM65x and J721e | expand

Commit Message

Faiz Abbas Feb. 26, 2020, 8:14 a.m. UTC
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 at ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla at ti.com>
---
 include/mmc.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/include/mmc.h b/include/mmc.h
index 71e2e1735a..d0fa7689c9 100644
--- a/include/mmc.h
+++ b/include/mmc.h
@@ -603,6 +603,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;