diff options
author | Bora Guvendik <bora.guvendik@intel.com> | 2018-03-08 16:18:54 -0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-07-02 07:26:11 +0000 |
commit | e1416fd58f6266b5c7d9f976f6b386765018636d (patch) | |
tree | 79a1ad1f29b1f6180c952c426a86d6e9506fb28d /src/commonlib/storage/sd_mmc.c | |
parent | f86c3fc01746712acc0d3c79531eb12c80a2366c (diff) |
commonlib/storage: Make sd_mmc_go_idle an api
change sd_mmc_go_idle to be accessible from other files
so that we have an api to send CMD0 and reset the card.
BUG=b:78106689
TEST=Boot to OS
Change-Id: I064a9bded347be5d500047df92d1c448c3392016
Signed-off-by: Bora Guvendik <bora.guvendik@intel.com>
Reviewed-on: https://review.coreboot.org/25066
Reviewed-by: Justin TerAvest <teravest@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/commonlib/storage/sd_mmc.c')
-rw-r--r-- | src/commonlib/storage/sd_mmc.c | 2 |
1 files changed, 1 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; |