RM-autogen.py: Fix TISCI prefix for HOST_ID
authorNikhil Devshatwar <nikhil.nd@ti.com>
Thu, 11 Jun 2020 17:51:59 +0000 (23:21 +0530)
committerNikhil Devshatwar <nikhil.nd@ti.com>
Thu, 11 Jun 2020 17:51:59 +0000 (23:21 +0530)
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
respart/RM-autogen.py

index d181eec6e675f664cca3e2cdff0319faa1270e42..ca5a86fff3ae672ee8c556ae4669dd292dbad95b 100755 (executable)
@@ -134,6 +134,7 @@ def print_rmcfg(rmcfg, prefix=""):
 
                        subtype = subtype.replace("RESASG", "%sRESASG" % prefix)
                        restype = restype.replace(dev_prefix, "%sDEV" % prefix)
+                       host = "%s%s" % (prefix, host)
 
                output += rmconfig_templ % (start, num, restype, subtype, host)
        return output