targets: Remove old call to add_spi_flash on targets now using LiteSPI (we'll find it with gitk is required).
This commit is contained in:
parent
54cee05986
commit
35ba3d9bc3
|
@ -98,7 +98,6 @@ class BaseSoC(SoCCore):
|
|||
from litespi.modules import W25Q128JV
|
||||
from litespi.opcodes import SpiNorFlashOpCodes as Codes
|
||||
self.add_spi_flash(mode="4x", module=W25Q128JV(Codes.READ_1_1_4), with_master=False)
|
||||
#self.add_spi_flash(mode="1x", dummy_cycles=8) # LiteX SPI Flash Core.
|
||||
|
||||
# Add ROM linker region --------------------------------------------------------------------
|
||||
self.bus.add_region("rom", SoCRegion(
|
||||
|
|
|
@ -93,7 +93,6 @@ class BaseSoC(SoCCore):
|
|||
from litespi.modules import W25Q128JV
|
||||
from litespi.opcodes import SpiNorFlashOpCodes as Codes
|
||||
self.add_spi_flash(mode="4x", module=W25Q128JV(Codes.READ_1_1_4), with_master=False)
|
||||
#self.add_spi_flash(mode="1x", dummy_cycles=8) # LiteX SPI Flash Core.
|
||||
|
||||
# Add ROM linker region --------------------------------------------------------------------
|
||||
self.bus.add_region("rom", SoCRegion(
|
||||
|
|
|
@ -111,7 +111,6 @@ class BaseSoC(SoCCore):
|
|||
"W25Q128JV": lambda: W25Q128JV( Codes.READ_1_1_4),
|
||||
}
|
||||
self.add_spi_flash(mode="4x", module=spi_flash_modules[spi_flash_module](), with_master=False)
|
||||
#self.add_spi_flash(mode="1x", dummy_cycles=8) # LiteX SPI Flash Core.
|
||||
|
||||
# Add ROM linker region --------------------------------------------------------------------
|
||||
self.bus.add_region("rom", SoCRegion(
|
||||
|
|
Loading…
Reference in New Issue