targets: icebreaker: switch to single SPI
The Icebreaker doesn't have the QE/ bit set in config, so default to using single SPI. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
e6dcdc31ed
commit
77b780eb4b
|
@ -149,7 +149,7 @@ class BaseSoC(SoCCore):
|
||||||
# The litex SPI module supports memory-mapped reads, as well as a bit-banged mode
|
# The litex SPI module supports memory-mapped reads, as well as a bit-banged mode
|
||||||
# for doing writes.
|
# for doing writes.
|
||||||
spi_pads = platform.request("spiflash4x")
|
spi_pads = platform.request("spiflash4x")
|
||||||
self.submodules.lxspi = spi_flash.SpiFlashDualQuad(spi_pads, dummy=6, endianness="little")
|
self.submodules.lxspi = spi_flash.SpiFlash(spi_pads, dummy=6, endianness="little")
|
||||||
self.register_mem("spiflash", self.mem_map["spiflash"], self.lxspi.bus, size=16 * 1024 * 1024)
|
self.register_mem("spiflash", self.mem_map["spiflash"], self.lxspi.bus, size=16 * 1024 * 1024)
|
||||||
self.add_csr("lxspi")
|
self.add_csr("lxspi")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue