Merge pull request #259 from danc86/clnexevn-unreserve-spi-flash-pins

lattice_crosslink_nx_evn: don't set MASTER_SPI_PORT=SERIAL
This commit is contained in:
enjoy-digital 2021-09-01 12:18:41 +02:00 committed by GitHub
commit fb9bb17835
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -69,7 +69,6 @@ class BaseSoC(SoCCore):
} }
def __init__(self, sys_clk_freq=int(75e6), device="LIFCL-40-9BG400C", toolchain="radiant", with_led_chaser=True, **kwargs): def __init__(self, sys_clk_freq=int(75e6), device="LIFCL-40-9BG400C", toolchain="radiant", with_led_chaser=True, **kwargs):
platform = crosslink_nx_evn.Platform(device=device, toolchain=toolchain) platform = crosslink_nx_evn.Platform(device=device, toolchain=toolchain)
platform.add_platform_command("ldc_set_sysconfig {{MASTER_SPI_PORT=SERIAL}}")
# Disable Integrated SRAM since we want to instantiate LRAM specifically for it # Disable Integrated SRAM since we want to instantiate LRAM specifically for it
kwargs["integrated_sram_size"] = 0 kwargs["integrated_sram_size"] = 0