integration/soc: move pads.rst control to PHY.
This commit is contained in:
parent
51f2e6ce64
commit
7602977c16
|
@ -1259,8 +1259,6 @@ class LiteXSoC(SoC):
|
||||||
sdcard_pads = self.platform.request(name)
|
sdcard_pads = self.platform.request(name)
|
||||||
|
|
||||||
# Core
|
# Core
|
||||||
if hasattr(sdcard_pads, "rst"):
|
|
||||||
self.comb += sdcard_pads.rst.eq(0)
|
|
||||||
self.submodules.sdphy = SDPHY(sdcard_pads, self.platform.device, self.clk_freq)
|
self.submodules.sdphy = SDPHY(sdcard_pads, self.platform.device, self.clk_freq)
|
||||||
self.submodules.sdcore = SDCore(self.sdphy)
|
self.submodules.sdcore = SDCore(self.sdphy)
|
||||||
self.add_csr("sdphy")
|
self.add_csr("sdphy")
|
||||||
|
|
Loading…
Reference in New Issue