From 0122982e091edc555708edebc17671478c02fc28 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 23 Apr 2019 10:00:52 +0200 Subject: [PATCH] boards/platforms/kc705: provide only one default programmer as others platforms --- litex/boards/platforms/kc705.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/litex/boards/platforms/kc705.py b/litex/boards/platforms/kc705.py index fe6ca70b..65840922 100644 --- a/litex/boards/platforms/kc705.py +++ b/litex/boards/platforms/kc705.py @@ -539,12 +539,7 @@ set_property CONFIG_VOLTAGE 2.5 [current_design] self.toolchain.additional_commands = ["write_cfgmem -force -format bin -interface spix4 -size 16 -loadbit \"up 0x0 {build_name}.bit\" -file {build_name}.bin"] def create_programmer(self): - if self.programmer == "xc3sprog": - return XC3SProg("jtaghs1_fast", "bscan_spi_kc705.bit") - elif self.programmer == "vivado": - return VivadoProgrammer() - else: - raise ValueError("{} programmer is not supported".format(programmer)) + return VivadoProgrammer() def do_finalize(self, fragment): XilinxPlatform.do_finalize(self, fragment) -- 2.30.2