diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2018-09-03 17:32:44 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2018-09-03 17:32:44 -0400 |
commit | e4db8c6db9356358d6a34caa19166ae72337e0cc (patch) | |
tree | ed486c25cef83ace6b4e5608e5a047165a8f8f0b | |
parent | 7961917493baedb0aafd41d88029ed610d0c433f (diff) | |
download | seabios-e4db8c6db9356358d6a34caa19166ae72337e0cc.tar.gz |
sdcard: Increase SDHCI_POWER_ON_TIME to 5ms
It appears some sd cards need additional time to initialize after
power on.
Reported-by: Chris <coderight@gmail.com>.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-rw-r--r-- | src/hw/sdcard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hw/sdcard.c b/src/hw/sdcard.c index 6410340e..ab7007bc 100644 --- a/src/hw/sdcard.c +++ b/src/hw/sdcard.c @@ -128,7 +128,7 @@ struct sdhci_s { // SDHCI timeouts #define SDHCI_POWER_OFF_TIME 1 -#define SDHCI_POWER_ON_TIME 1 +#define SDHCI_POWER_ON_TIME 5 #define SDHCI_CLOCK_ON_TIME 1 // 74 clock cycles #define SDHCI_POWERUP_TIMEOUT 1000 #define SDHCI_PIO_TIMEOUT 1000 // XXX - this is just made up |