script: Small change in uboot delay format
[glsdk/iodelay-config.git] / 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"
 
 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #