diff options
author | Nikhil Devshatwar | 2016-08-29 08:47:56 -0500 |
---|---|---|
committer | Nikhil Devshatwar | 2016-08-29 08:47:56 -0500 |
commit | 46134e30787002dc5b3dd413ce3752ff15be78bb (patch) | |
tree | 9ae8198a716dc19720800ace69f16e51dd1aeda6 | |
parent | f952a2e2bdb39d8220be39b013628dc473425f1d (diff) | |
download | iodelay-config-46134e30787002dc5b3dd413ce3752ff15be78bb.tar.gz iodelay-config-46134e30787002dc5b3dd413ce3752ff15be78bb.tar.xz iodelay-config-46134e30787002dc5b3dd413ce3752ff15be78bb.zip |
script: Add checks for unsupported Si revisions
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
-rwxr-xr-x | iodelay-autogen.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/iodelay-autogen.py b/iodelay-autogen.py index 41f9a3a..677f68d 100755 --- a/iodelay-autogen.py +++ b/iodelay-autogen.py | |||
@@ -73,10 +73,15 @@ args.resetslew = True | |||
73 | VERSION = "2.5" | 73 | VERSION = "2.5" |
74 | 74 | ||
75 | if (args.part == "dra74x" or args.part == "dra75x"): | 75 | if (args.part == "dra74x" or args.part == "dra75x"): |
76 | if (args.revision == "1.0"): | ||
77 | args.revision = "1.1" | ||
76 | XML_PATH = "XMLFiles/DRA75x_DRA74x" | 78 | XML_PATH = "XMLFiles/DRA75x_DRA74x" |
77 | PART = "DRA75x_DRA74x" | 79 | PART = "DRA75x_DRA74x" |
78 | PCT_VERSION = "v1.0.10" | 80 | PCT_VERSION = "v1.0.10" |
79 | elif (args.part == "dra72x"): | 81 | elif (args.part == "dra72x"): |
82 | if (args.revision == "1.1"): | ||
83 | print "dra72x doesn't have silicon revision 1.1" | ||
84 | exit() | ||
80 | XML_PATH = "XMLFiles/DRA72x" | 85 | XML_PATH = "XMLFiles/DRA72x" |
81 | PART = "DRA72x" | 86 | PART = "DRA72x" |
82 | PCT_VERSION = "v1.0.7" | 87 | PCT_VERSION = "v1.0.7" |