summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/commonlib/storage/sd_mmc.c2
-rw-r--r--src/commonlib/storage/sd_mmc.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/commonlib/storage/sd_mmc.c b/src/commonlib/storage/sd_mmc.c
index 0ca53b7d20..0c89085ca7 100644
--- a/src/commonlib/storage/sd_mmc.c
+++ b/src/commonlib/storage/sd_mmc.c
@@ -81,7 +81,7 @@ static uint32_t sd_mmc_calculate_transfer_speed(uint32_t csd0)
return freq * mult;
}
-static int sd_mmc_go_idle(struct storage_media *media)
+int sd_mmc_go_idle(struct storage_media *media)
{
struct sd_mmc_ctrlr *ctrlr = media->ctrlr;
diff --git a/src/commonlib/storage/sd_mmc.h b/src/commonlib/storage/sd_mmc.h
index b9aea46b5d..e37f8f4e13 100644
--- a/src/commonlib/storage/sd_mmc.h
+++ b/src/commonlib/storage/sd_mmc.h
@@ -46,6 +46,7 @@
int sd_mmc_enter_standby(struct storage_media *media);
uint64_t sd_mmc_extract_uint32_bits(const uint32_t *array, int start,
int count);
+int sd_mmc_go_idle(struct storage_media *media);
int sd_mmc_send_status(struct storage_media *media, ssize_t tries);
int sd_mmc_set_blocklen(struct sd_mmc_ctrlr *ctrlr, int len);