mmc:Small fixup to run the driver on hardware.
Change-Id: I8e8d048da7cdfce5c9f2091969b0db5240e3e89f
This commit is contained in:
parent
8de781761f
commit
2d5f58d5ef
1 changed files with 5 additions and 0 deletions
|
@ -680,6 +680,11 @@ mmchs_card_initialize(struct sd_slot *slot)
|
|||
memset(card, 0, sizeof(struct sd_card));
|
||||
card->slot = slot;
|
||||
|
||||
if (card_goto_idle_state()) {
|
||||
printf("Failed to go idle state\n");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (card_identification()) {
|
||||
printf("Failed to do card_identification\n");
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in a new issue