]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - tools/moveconfig.py
mmc: omap_hsmmc: allow mmc clock to be gated
[people/ms/u-boot.git] / tools / moveconfig.py
index 6f549a51c16d0c2d81c3effbd8f62f8d255f45a5..bdd4899fcd7f80802b395ee49b7cc9ce4bdd76a3 100755 (executable)
@@ -1170,7 +1170,7 @@ class Slot:
             toolchain = self.toolchains.Select(arch)
         except ValueError:
             self.log += color_text(self.options.color, COLOR_YELLOW,
-                    "Tool chain for '%s' is missing.  Do nothing.\n % arch")
+                    "Tool chain for '%s' is missing.  Do nothing.\n" % arch)
             self.finish(False)
             return
        env = toolchain.MakeEnvironment(False)
@@ -1472,7 +1472,7 @@ def find_kconfig_rules(kconf, config, imply_config):
     """
     sym = kconf.get_symbol(imply_config)
     if sym:
-        for sel in sym.get_selected_symbols():
+        for sel in sym.get_selected_symbols() | sym.get_implied_symbols():
             if sel.get_name() == config:
                 return sym
     return None