Lines Matching +full:soc +full:- +full:schema
4 # SPDX-License-Identifier: Apache-2.0
23 BOARD_SCHEMA_PATH = str(Path(__file__).parent / 'schemas' / 'board-schema.yml')
72 class Soc: class
78 def from_soc(soc, variants): argument
79 if soc is None:
81 if soc.cpuclusters:
83 for c in soc.cpuclusters:
87 return Soc(soc.name, cpuclusters=cpus)
88 return Soc(soc.name, variants=[Variant.from_dict(v) for v in variants])
104 socs: List[Soc] = field(default_factory=list, compare=False)
117 node = Soc(None)
144 if node in (Soc(None), Variant(None)):
219 board_name = file_name[:-len('_defconfig')]
229 with board_yml.open('r', encoding='utf-8') as f:
239 if len(mutual_exclusive - b.keys()) < 1:
246 if len(mutual_exclusive - board.keys()) < 1:
272 if len(mutual_exclusive - board.keys()) < 1:
275 socs = [Soc.from_soc(systems.get_soc(s['name']), s.get('variants', []))
361 # Remember to update west-completion.bash if you add or remove
363 parser.add_argument("--arch-root", dest='arch_roots', default=[],
366 parser.add_argument("--board-root", dest='board_roots', default=[],
369 parser.add_argument("--soc-root", dest='soc_roots', default=[],
371 help='add a soc root, may be given more than once')
372 parser.add_argument("--board", dest='board', default=None,
374 parser.add_argument("--board-dir", default=[], type=Path, action='append',
379 parser.add_argument("--cmakeformat", default=None,