diff options
author | Faiz Abbas <faiz_abbas@ti.com> | 2020-02-26 11:14:29 +0300 |
---|---|---|
committer | Peng Fan <peng.fan@nxp.com> | 2020-03-09 03:33:15 +0300 |
commit | 0d3c8584885a7c76929bfa59fa34e44a2134ae1f (patch) | |
tree | 2f732be637ab013530122f8c31c6463abc6b923b /include | |
parent | bd602c536771c53d0d56273d8f7d6596425b8f5c (diff) | |
download | u-boot-0d3c8584885a7c76929bfa59fa34e44a2134ae1f.tar.xz |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/mmc.h | 1 |
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; |