soc/add_sdcard: remove Timer (unused).
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Wed, 3 Jun 2020 11:13:07 +0000 (13:13 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Wed, 3 Jun 2020 11:13:07 +0000 (13:13 +0200)
litex/soc/integration/soc.py

index a08e325335c679f5d86997e8c2d5cd947467ad4a..5f61cc95be5b3ec18fb25a0270f1c87abe37e868 100644 (file)
@@ -1278,11 +1278,9 @@ class LiteXSoC(SoC):
             self.submodules.sdclk = SDClockerS7(sys_clk_freq=self.sys_clk_freq)
         self.submodules.sdphy   = SDPHY(sdcard_pads, self.platform.device)
         self.submodules.sdcore  = SDCore(self.sdphy)
-        self.submodules.sdtimer = Timer()
         self.add_csr("sdclk")
         self.add_csr("sdphy")
         self.add_csr("sdcore")
-        self.add_csr("sdtimer")
 
         # SD Card Data Reader
         sdread_mem  = Memory(32, 512//4)