[msm_shared/mmc]: Enable sD card detection and eMMC driver in apps boot

Dynamically detecting eMMC or sD card for eMMC targets. Removing the
temporary fix to enable early boot chain to load kernel and make apps
boot to do that.

For detecting sD, the following commands are sent during init and
identify phase. This happens @ 400KHZ and 1 bit mode.
CMD0, CMD8, ACMD41, CMD2, CMD3, CMD9, CMD7

After identifying the card and selecting the card, clock is increased
to 50MHZ and bus width is set to 4 bits. Card status is checked whether
it has entered transfer state before entering data transfer mode.

Change-Id: I91e27a2d065a7a0d7468e79ffc208cd64727fbff
4 files changed