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:
Florent Kermarrec 2021-07-29 11:54:56 +02:00
parent 54cee05986
commit 35ba3d9bc3
3 changed files with 0 additions and 3 deletions

View File

@ -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(

View File

@ -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(

View File

@ -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(