targets/nexys4ddr: fix sdcard assert.
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Thu, 28 May 2020 13:31:33 +0000 (15:31 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Thu, 28 May 2020 13:31:33 +0000 (15:31 +0200)
litex/boards/targets/nexys4ddr.py

index 161c11f2bb331404757c1a85afb20904fe3cd564..30174113b8c988fd44575e1b54612803cf7815bb 100755 (executable)
@@ -104,7 +104,7 @@ def main():
     soc = BaseSoC(sys_clk_freq=int(float(args.sys_clk_freq)),
         with_ethernet=args.with_ethernet,
         **soc_sdram_argdict(args))
-    assert not (args.with_spi_sdcard and args.with_spi_sdcard)
+    assert not (args.with_spi_sdcard and args.with_sdcard)
     if args.with_spi_sdcard:
         soc.add_spi_sdcard()
     if args.with_sdcard: