aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikhil Devshatwar2016-05-10 08:17:19 -0500
committerNikhil Devshatwar2016-05-10 08:17:22 -0500
commit9ae883664b4ebfa9b3d48fcf6d2af5af15a9e67b (patch)
tree354824e6fd987bdea0f6526517316a070d66e3e5
parentb34476a8f761775cbc6f97e1c59c71a081e6fe7a (diff)
downloadiodelay-config-9ae883664b4ebfa9b3d48fcf6d2af5af15a9e67b.tar.gz
iodelay-config-9ae883664b4ebfa9b3d48fcf6d2af5af15a9e67b.tar.xz
iodelay-config-9ae883664b4ebfa9b3d48fcf6d2af5af15a9e67b.zip
script: Update correctness tests
Run more test to find out if there are some modes which are described in guidelines.txt but unused in the PCT model XML. This test will fail on the DRA72x ES2.0 where some of the MMC2 manual modes are not present in the PCT files. Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
-rwxr-xr-xiodelay-autogen.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/iodelay-autogen.py b/iodelay-autogen.py
index 84d8a2e..0004179 100755
--- a/iodelay-autogen.py
+++ b/iodelay-autogen.py
@@ -271,7 +271,7 @@ def xml_check_correctness(modehelp):
271 padmodel_list = [] 271 padmodel_list = []
272 modes = {} 272 modes = {}
273 273
274 # Fint all the pads in core XML 274 # Find all the pads in core XML
275 pad_list = pad_xml.findall("register") 275 pad_list = pad_xml.findall("register")
276 for i in pad_list: 276 for i in pad_list:
277 name = i.get("id") 277 name = i.get("id")
@@ -315,6 +315,12 @@ def xml_check_correctness(modehelp):
315 if (i not in modehelp): 315 if (i not in modehelp):
316 print "\t%s" % i 316 print "\t%s" % i
317 317
318 # Check if description for unknown mode is documented
319 print "== Delaymodes unused from guidelines.txt =="
320 for i in modehelp:
321 if (i not in modes):
322 print "\t%s" % i
323
318 print "###########################################" 324 print "###########################################"
319 325
320# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # 326# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #