Merge pull request #307 from fjullien/titanium_spi

Titanium spi
This commit is contained in:
enjoy-digital 2021-12-14 08:21:15 +01:00 committed by GitHub
commit c2a840f777
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -59,9 +59,9 @@ class BaseSoC(SoCCore):
# SPI Flash --------------------------------------------------------------------------------
if with_spi_flash:
from litespi.modules import W25Q32JV
from litespi.modules import W25Q64JW
from litespi.opcodes import SpiNorFlashOpCodes as Codes
self.add_spi_flash(mode="1x", module=W25Q32JV(Codes.READ_1_1_1), with_master=True)
self.add_spi_flash(mode="1x", module=W25Q64JW(Codes.READ_1_1_1), with_master=True)
# Build --------------------------------------------------------------------------------------------