make.py: do not use prog.needs_flash_proxy

This commit is contained in:
Sebastien Bourdeauducq 2014-08-09 14:38:56 +08:00
parent 4d2623a87e
commit a6c55d8dde
1 changed files with 1 additions and 2 deletions

View File

@ -201,8 +201,7 @@ CPU type: {}
if actions["load-bitstream"]: if actions["load-bitstream"]:
prog.load_bitstream("build/" + build_name + platform.bitstream_ext) prog.load_bitstream("build/" + build_name + platform.bitstream_ext)
if actions["flash-bitstream"]: 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: if prog.needs_bitreverse:
flashbit = "build/" + build_name + ".fpg" flashbit = "build/" + build_name + ".fpg"
subprocess.call(["tools/byteswap", subprocess.call(["tools/byteswap",