summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 16c0125)
raw | patch | inline | side by side (parent: 16c0125)
author | Nikhil Devshatwar <nikhil.nd@ti.com> | |
Mon, 28 Sep 2015 14:28:07 +0000 (19:58 +0530) | ||
committer | Nikhil Devshatwar <nikhil.nd@ti.com> | |
Mon, 28 Sep 2015 14:28:12 +0000 (19:58 +0530) |
Missing paranthesis around the delay values would result in DTB build error.
Fix the format string properly.
Reported-by: Vishal Mahaveer <vishalm@ti.com>
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Fix the format string properly.
Reported-by: Vishal Mahaveer <vishalm@ti.com>
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
iodelay-autogen.py | patch | blob | history |
diff --git a/iodelay-autogen.py b/iodelay-autogen.py
index d6a8701f91a3a63ae3dd1b2be4c767ed6be36aba..3e887de13df0cc1efd0fbf0c3edaae5c17e5159e 100755 (executable)
--- a/iodelay-autogen.py
+++ b/iodelay-autogen.py
for i in per_delayconf[per]:
(pad_name, pin_name, regname, del_offset, mode, adel, gdel) = i
- print "\t\t\t0x%03X A_DELAY(%d) | G_DELAY(%d)\t/* %s */" % (del_offset, adel, gdel, regname)
+ print "\t\t\t0x%03X (A_DELAY(%d) | G_DELAY(%d))\t/* %s */" % (del_offset, adel, gdel, regname)
print "\t\t>;"
print "\t};"
print "};\n"