make.py: do not use prog.needs_flash_proxy
authorSebastien Bourdeauducq <sb@m-labs.hk>
Sat, 9 Aug 2014 06:38:56 +0000 (14:38 +0800)
committerSebastien Bourdeauducq <sb@m-labs.hk>
Sat, 9 Aug 2014 06:38:56 +0000 (14:38 +0800)
make.py

diff --git a/make.py b/make.py
index 004af04e840c8fdee410a5f2a9429c11fc6e3555..19abebe75732089773478baf206dd3ce5986cad2 100755 (executable)
--- a/make.py
+++ b/make.py
@@ -201,8 +201,7 @@ CPU type:  {}
                if actions["load-bitstream"]:
                        prog.load_bitstream("build/" + build_name + platform.bitstream_ext)
                if actions["flash-bitstream"]:
-                       if prog.needs_flash_proxy:
-                               prog.set_flash_proxy_dir(args.flash_proxy_dir)
+                       prog.set_flash_proxy_dir(args.flash_proxy_dir)
                        if prog.needs_bitreverse:
                                flashbit = "build/" + build_name + ".fpg"
                                subprocess.call(["tools/byteswap",