soc/add_spi_sdcard: Fix missing renaming when rst pin is present.
This commit is contained in:
parent
ffc96a5655
commit
cdacba06d1
|
@ -1560,7 +1560,7 @@ class LiteXSoC(SoC):
|
||||||
# Pads.
|
# Pads.
|
||||||
spi_sdcard_pads = self.platform.request(name)
|
spi_sdcard_pads = self.platform.request(name)
|
||||||
if hasattr(spi_sdcard_pads, "rst"):
|
if hasattr(spi_sdcard_pads, "rst"):
|
||||||
self.comb += pads.rst.eq(0)
|
self.comb += spi_sdcard_pads.rst.eq(0)
|
||||||
|
|
||||||
# Tristate (Optional).
|
# Tristate (Optional).
|
||||||
if with_tristate:
|
if with_tristate:
|
||||||
|
|
Loading…
Reference in New Issue