summaryrefslogtreecommitdiffstats
path: root/toprammer
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2010-03-09 20:37:12 +0100
committerMichael Buesch <mb@bu3sch.de>2010-03-09 20:37:12 +0100
commit30d9d084ba6d4bb02e58cec47367426d8ee46ca5 (patch)
treeacf8645d0c9a06897d283a2d02d4a5405a4d553b /toprammer
parentb374f9fd955ee84922c266b454eef7e0d4dba5a1 (diff)
downloadtoprammer-30d9d084ba6d4bb02e58cec47367426d8ee46ca5.tar.xz
toprammer-30d9d084ba6d4bb02e58cec47367426d8ee46ca5.zip
Remove -a option. It doesn't work and we should use toprammer-layout instead
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Diffstat (limited to 'toprammer')
-rwxr-xr-xtoprammer11
1 files changed, 2 insertions, 9 deletions
diff --git a/toprammer b/toprammer
index 5eceded..4a7d7d0 100755
--- a/toprammer
+++ b/toprammer
@@ -51,9 +51,6 @@ def usage():
print " -l|--read-lock FILE Read the lock bits"
print " -L|--write-lock FILE Write the lock bits"
print ""
- print " -a|--layout-ascii-art Print an ascii-art of how to insert the"
- print " chip into the programmer."
- print ""
print "Optional:"
print " -t|--list Print a list of supported chips and exit"
print " -d|--device BUS.DEV Use the programmer at BUS.DEV"
@@ -237,11 +234,11 @@ def main(argv):
opt_outformat = "bin"
try:
(opts, args) = getopt.getopt(sys.argv[1:],
- "hb:d:V:Qs:xp:P:e:E:f:F:o:l:L:BtI:O:a",
+ "hb:d:V:Qs:xp:P:e:E:f:F:o:l:L:BtI:O:",
[ "help", "bitfile=", "device=", "verbose=", "noqueue",
"read-sig=", "erase", "read-prog=", "write-prog=",
"read-eeprom=", "write-eeprom=", "read-fuse=", "write-fuse=",
- "read-lock=", "write-lock=", "layout-ascii-art",
+ "read-lock=", "write-lock=",
"force=", "broken", "list", "in-format=", "out-format=", ])
for (o, v) in opts:
if o in ("-h", "--help"):
@@ -301,8 +298,6 @@ def main(argv):
if o in ("-L", "--write-lock"):
opt_action = "write-lock"
opt_file = v
- if o in ("-a", "--layout-ascii-art"):
- opt_action = "print-layout"
except (getopt.GetoptError, ValueError), e:
usage()
return 1
@@ -348,8 +343,6 @@ def main(argv):
fileOut(opt_file, opt_outformat, top.readLockbits())
elif opt_action == "write-lock":
top.writeLockbits(fileIn(opt_file, opt_informat))
- elif opt_action == "print-layout":
- top.printZIFLayout()
else:
assert(0)
top.shutdown()
bues.ch cgit interface