aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Gerlach2020-12-16 17:49:33 -0600
committerDave Gerlach2020-12-16 22:43:45 -0600
commita4e232f9293be29ce1a684357112965365d6e285 (patch)
tree0d48c00a5fc88cd956fdc068a5088a0d5bb46421
parent02197201493794935cf564ab1b424b7a9145df06 (diff)
downloadk3-image-gen-a4e232f9293be29ce1a684357112965365d6e285.tar.gz
k3-image-gen-a4e232f9293be29ce1a684357112965365d6e285.tar.xz
k3-image-gen-a4e232f9293be29ce1a684357112965365d6e285.zip
scripts: sysfw_boardcfg_validator: Add substitution for am65x to am6
The sysfw_boardcfg_validator refers to am65x as am6 internally for legacy reasons so add a check to use 'am6' as the SoC name in the script when 'am65x' is passed. Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
-rwxr-xr-xscripts/sysfw_boardcfg_validator.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/sysfw_boardcfg_validator.py b/scripts/sysfw_boardcfg_validator.py
index 9eed5bc..fa36cc9 100755
--- a/scripts/sysfw_boardcfg_validator.py
+++ b/scripts/sysfw_boardcfg_validator.py
@@ -601,6 +601,9 @@ class sysfw_trace_cli:
601 self.output_class = sysfw_validation_output_file( 601 self.output_class = sysfw_validation_output_file(
602 self.cmd_args.log_output_file) 602 self.cmd_args.log_output_file)
603 603
604 if self.cmd_args.soc == 'am65x':
605 self.cmd_args.soc = 'am6'
606
604 def process_data(self): 607 def process_data(self):
605 self.rules.process_data( 608 self.rules.process_data(
606 self.cmd_args.soc, 609 self.cmd_args.soc,