From 18e5def9f28f4d90d7626fb58cefd1465950ffb5 Mon Sep 17 00:00:00 2001 From: Pepijn de Vos Date: Thu, 1 Oct 2020 08:41:16 +0200 Subject: [PATCH] don't verify erase, very slow --- litex_boards/targets/tec0117.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/litex_boards/targets/tec0117.py b/litex_boards/targets/tec0117.py index 77d6f7c..15050b1 100755 --- a/litex_boards/targets/tec0117.py +++ b/litex_boards/targets/tec0117.py @@ -70,8 +70,6 @@ class BaseSoC(SoCCore): sys_clk_freq = sys_clk_freq) self.add_csr("leds") - self.add_constant("UART_POLLING") - # Flash -------------------------------------------------------------------------------------------- def flash(offset, path): @@ -94,7 +92,7 @@ def flash(offset, path): dev = SerialFlashManager.get_flash_device("ftdi://ftdi:2232/2") dev.TIMINGS['chip'] = (4, 60) # chip is too slow print("Erasing flash...") - dev.erase(0, -1, True) + dev.erase(0, -1) with open(path, 'rb') as f: bios = f.read()