summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRaymond Mao <[email protected]>2026-02-13 17:52:47 -0500
committerTom Rini <[email protected]>2026-02-18 08:27:51 -0600
commit83b28b55d74f884a30c47238dc8bdf9fbe6e495c (patch)
treee6e04f5ab46f3b7654e55489cc6a53714b0bfb40 /scripts
parent87f8a143da550a2de39dd5b30d3547bc8dfd7174 (diff)
smbios: add support for dynamic generation of Type 9 system slot tables
This commit introduces support for generating SMBIOS Type 9 (System Slot) tables using a hybrid approach: 1. Explicit Device Tree definitions: Child node under '/smbios/smbios/system-slot' will be interpreted as individual slot definitions. - Each child represents a slot (e.g., isa, pcmcia, etc.). - Properties follow the SMBIOS specification using lowercase hyphen-separated names such as 'slot-type', 'slot-id', 'segment-group-number', 'bus-number', 'slot-information', etc. - This approach allows full customization of each system slot and is especially suitable for platforms with well-defined slot topology. 2. Automatic detection fallback: If child node under '/smbios/smbios/system-slot' does not exist, the implementation will scan the entire device tree for nodes whose 'device_type' matches known slot-related types ("pci", "isa", "pcmcia", etc.). - When a match is found, default values or heuristics are applied to populate to the System Slot table. - This mode is useful for platforms that lack explicit SMBIOS nodes but still expose slot topology via standard DT conventions. Together, two approaches ensure that SMBIOS Type 9 entries are available whether explicitly described or automatically derived. Signed-off-by: Raymond Mao <[email protected]> Tested-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions