From 30d9d084ba6d4bb02e58cec47367426d8ee46ca5 Mon Sep 17 00:00:00 2001 From: Michael Buesch Date: Tue, 9 Mar 2010 20:37:12 +0100 Subject: Remove -a option. It doesn't work and we should use toprammer-layout instead Signed-off-by: Michael Buesch --- toprammer | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'toprammer') 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() -- cgit v1.2.3