integration/soc: move pads.rst control to PHY.
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 7 Jul 2020 12:58:06 +0000 (14:58 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 7 Jul 2020 12:58:06 +0000 (14:58 +0200)
litex/soc/integration/soc.py

index f36f344f370bfc3271ac6a39eff70c786899d945..a92faa6a88e708ee6e5807af9cdf51477d113dc4 100644 (file)
@@ -1259,8 +1259,6 @@ class LiteXSoC(SoC):
             sdcard_pads = self.platform.request(name)
 
         # 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.sdcore  = SDCore(self.sdphy)
         self.add_csr("sdphy")