[U-Boot] [PATCH] tools/genboardscfg.py: Do not output SPLCPU field
Masahiro Yamada
yamada.m at jp.panasonic.com
Wed Aug 6 06:42:34 CEST 2014
Prior to Kconfig, the CPU field of boards.cfg could optionally have
":SPLCPU", like "armv7:arm720t".
(Actually this syntax was only used for Tegra platform.)
Now it is not necessary at all because CPU is defined by
CONFIG_SYS_CPU in Kconfig.
For Tegra platform, the Kconfig option is described as follows:
config SYS_CPU
string
default "arm720t" if SPL_BUILD
default "armv7" if !SPL_BUILD
Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
---
tools/genboardscfg.py | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/tools/genboardscfg.py b/tools/genboardscfg.py
index 9e4892f..450ba25 100755
--- a/tools/genboardscfg.py
+++ b/tools/genboardscfg.py
@@ -36,7 +36,7 @@ COMMENT_BLOCK = '''#
# List of boards
# Automatically generated by %s: don't edit
#
-# Status, Arch, CPU(:SPLCPU), SoC, Vendor, Board, Target, Options, Maintainers
+# Status, Arch, CPU, SoC, Vendor, Board, Target, Options, Maintainers
''' % __file__
@@ -213,12 +213,10 @@ class DotConfigParser:
(field, defconfig)
sys.exit(1)
- # fix-up for aarch64 and tegra
+ # fix-up for aarch64
if fields['arch'] == 'arm' and 'cpu' in fields:
if fields['cpu'] == 'armv8':
fields['arch'] = 'aarch64'
- if 'soc' in fields and re.match('tegra[0-9]*$', fields['soc']):
- fields['cpu'] += ':arm720t'
target, match, rear = defconfig.partition('_defconfig')
assert match and not rear, \
--
1.9.1
More information about the U-Boot
mailing list