Improve SDHC driver performance (slightly)
This commit is contained in:
parent
d6526ccbaa
commit
ef2f3c0ada
@ -225,7 +225,8 @@ static errval_t sdhc_send_cmd(struct sdhc_s * sd, struct cmd * cmd) {
|
|||||||
DEBUG("Card busy!\n");
|
DEBUG("Card busy!\n");
|
||||||
}
|
}
|
||||||
DEBUG("Card ready (data & cmd inhibit are clear)!\n");
|
DEBUG("Card ready (data & cmd inhibit are clear)!\n");
|
||||||
barrelfish_usleep(10000);
|
// NOTE rueegges: This wait does not seem to be necessary
|
||||||
|
// barrelfish_usleep(10000);
|
||||||
|
|
||||||
// Clear interrupts
|
// Clear interrupts
|
||||||
sdhc_int_status_rawwr(&sd->dev, ~0x0);
|
sdhc_int_status_rawwr(&sd->dev, ~0x0);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user