script: Small change in uboot delay format
authorNikhil Devshatwar <nikhil.nd@ti.com>
Mon, 7 Sep 2015 12:52:21 +0000 (18:22 +0530)
committerNikhil Devshatwar <nikhil.nd@ti.com>
Mon, 7 Sep 2015 12:52:27 +0000 (18:22 +0530)
Include the pin name associated with the PAD register and
also the name of the manual mode used.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
iodelay-autogen.py

index 3094328599df40884491bc9abc21f8a36e80e080..6a94b324676d35ed96ffdfcb45623167bf41ef9f 100755 (executable)
@@ -437,13 +437,13 @@ def uboot_format_delay_regs(delayconf, per_delayconf):
                        print "WARN: Skipping MMC delayconf in uboot"
                        continue
 
-               entry = (del_offset, adel, gdel, regname)
+               entry = (del_offset, adel, gdel, regname, pin_name, man_name)
                manual_del.append(entry)
 
        es_rev = args.revision.replace('.', '_')
        print "\nconst struct iodelay_cfg_entry dra742_es" + es_rev + "_iodelay_cfg_array[] = {"
        for entry in sorted(manual_del):
-               print "\t{ 0x%04X, %5d, %5d },\t/* %s */" % entry
+               print "\t{ 0x%04X, %5d, %5d },\t/* %s : %s - %s */" % entry
        print "};\n"
 
 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #