From: Florent Kermarrec Date: Tue, 23 Apr 2019 08:00:52 +0000 (+0200) Subject: boards/platforms/kc705: provide only one default programmer as others platforms X-Git-Tag: 24jan2021_ls180~1293 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0122982e091edc555708edebc17671478c02fc28;p=litex.git boards/platforms/kc705: provide only one default programmer as others platforms --- 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)