1 # SPDX-License-Identifier: GPL-2.0+
2 # Copyright (c) 2012 The Chromium OS Authors.
5 """A single board which can be selected and built"""
8 """A particular board that we can build"""
9 def __init__(self, status, arch, cpu, soc, vendor, board_name, target, cfg_name):
10 """Create a new board type.
13 status: define whether the board is 'Active' or 'Orphaned'
14 arch: Architecture name (e.g. arm)
15 cpu: Cpu name (e.g. arm1136)
16 soc: Name of SOC, or '' if none (e.g. mx31)
17 vendor: Name of vendor (e.g. armltd)
18 board_name: Name of board (e.g. integrator)
19 target: Target name (use make <target>_defconfig to configure)
20 cfg_name: Config-file name (in includes/configs/)
27 self.board_name = board_name
28 self.cfg_name = cfg_name
29 self.props = [self.target, self.arch, self.cpu, self.board_name,
30 self.vendor, self.soc, self.cfg_name]