mmc: changes to get SDCC work with multi-target binary for 8960 and 8064

Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
diff --git a/drivers/mmc/host/msm_sdcc.c b/drivers/mmc/host/msm_sdcc.c
index 453c6a0..1ed2abe 100644
--- a/drivers/mmc/host/msm_sdcc.c
+++ b/drivers/mmc/host/msm_sdcc.c
@@ -3381,7 +3381,8 @@
 	host->plat = plat;
 	host->mmc = mmc;
 	host->curr.cmd = NULL;
-	if (bam_memres && dml_memres && bam_irqres)
+
+	if (!plat->disable_bam && bam_memres && dml_memres && bam_irqres)
 		host->is_sps_mode = 1;
 	else if (dmares)
 		host->is_dma_mode = 1;