mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
soc: increase sdcard data/cmd timeout (from default 10e-3)
This allows the Linux driver in single-block mode (cmd17-only) to operate solidly, without running into timeouts from LiteSDCard FSMs. FIXME: multi-block (cmd18) transfers still time out, so revisit this after some additional debugging.
This commit is contained in:
parent
07dd680a3e
commit
b03f46ffec
1 changed files with 1 additions and 1 deletions
|
@ -1480,7 +1480,7 @@ class LiteXSoC(SoC):
|
|||
sdcard_pads = self.platform.request(name)
|
||||
|
||||
# Core
|
||||
self.submodules.sdphy = SDPHY(sdcard_pads, self.platform.device, self.clk_freq)
|
||||
self.submodules.sdphy = SDPHY(sdcard_pads, self.platform.device, self.clk_freq, cmd_timeout=10e-1, data_timeout=10e-1)
|
||||
self.submodules.sdcore = SDCore(self.sdphy)
|
||||
self.csr.add("sdphy", use_loc_if_exists=True)
|
||||
self.csr.add("sdcore", use_loc_if_exists=True)
|
||||
|
|
Loading…
Reference in a new issue