From: Faiz Abbas Date: Wed, 26 Feb 2020 08:14:29 +0000 (+0530) Subject: mmc: Add a saved_clock member X-Git-Tag: v2020.04-rc4~15^2~10 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0d3c8584885a7c76929bfa59fa34e44a2134ae1f;p=oweals%2Fu-boot.git 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 Signed-off-by: Lokesh Vutla --- 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;