projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
arm64: zynqmp: Enable SPL for mini qspi configuration
[oweals/u-boot.git]
/
tools
/
moveconfig.py
diff --git
a/tools/moveconfig.py
b/tools/moveconfig.py
index 6f549a51c16d0c2d81c3effbd8f62f8d255f45a5..caa81ac2ed77af9e635c2b577e3838b314812cdc 100755
(executable)
--- a/
tools/moveconfig.py
+++ b/
tools/moveconfig.py
@@
-1,9
+1,8
@@
#!/usr/bin/env python2
#!/usr/bin/env python2
+# SPDX-License-Identifier: GPL-2.0+
#
# Author: Masahiro Yamada <yamada.masahiro@socionext.com>
#
#
# Author: Masahiro Yamada <yamada.masahiro@socionext.com>
#
-# SPDX-License-Identifier: GPL-2.0+
-#
"""
Move config options from headers to defconfig files.
"""
Move config options from headers to defconfig files.
@@
-1170,7
+1169,7
@@
class Slot:
toolchain = self.toolchains.Select(arch)
except ValueError:
self.log += color_text(self.options.color, COLOR_YELLOW,
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)
self.finish(False)
return
env = toolchain.MakeEnvironment(False)
@@
-1472,7
+1471,7
@@
def find_kconfig_rules(kconf, config, imply_config):
"""
sym = kconf.get_symbol(imply_config)
if sym:
"""
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
if sel.get_name() == config:
return sym
return None