drivers/storage/mmc: Add callback to execute tuning

For grunt we need to execute tuning in order to use HS200.

BRANCH=grunt
BUG=b:122244718
TEST=Made sure it compiles

Change-Id: Ifa512cb5e1621b143cadd6852c1661530f27d5c7
Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/depthcharge/+/1655551
Reviewed-by: Martin Roth <martinroth@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
diff --git a/src/drivers/storage/mmc.c b/src/drivers/storage/mmc.c
index 44c9972..35fe332 100644
--- a/src/drivers/storage/mmc.c
+++ b/src/drivers/storage/mmc.c
@@ -614,6 +614,9 @@
 
 	mmc_recalculate_clock(media);
 
+	if (media->ctrlr->execute_tuning)
+		ret = media->ctrlr->execute_tuning(media);
+
 	return ret;
 }
 
diff --git a/src/drivers/storage/mmc.h b/src/drivers/storage/mmc.h
index ce5d260..552001c 100644
--- a/src/drivers/storage/mmc.h
+++ b/src/drivers/storage/mmc.h
@@ -282,6 +282,7 @@
 
 	int (*send_cmd)(struct MmcCtrlr *me, MmcCommand *cmd, MmcData *data);
 	void (*set_ios)(struct MmcCtrlr *me);
+	int (*execute_tuning)(MmcMedia *media);
 } MmcCtrlr;
 
 typedef struct MmcMedia {