<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/include/sysinfo.h, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/include/sysinfo.h?h=main</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/include/sysinfo.h?h=main'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2026-06-05T15:56:32Z</updated>
<entry>
<title>sysinfo: add sysinfo_get_and_detect() helper</title>
<updated>2026-06-05T15:56:32Z</updated>
<author>
<name>Nora Schiffer</name>
<email>nora.schiffer@ew.tq-group.com</email>
</author>
<published>2026-06-02T11:57:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0ef21dd37dc1779293a101413a7ce32bd63870bb'/>
<id>urn:sha1:0ef21dd37dc1779293a101413a7ce32bd63870bb</id>
<content type='text'>
sysinfo_detect() is commonly called after sysinfo_get(). Make the API a
bit more convenient to use by introducing a helper.

Signed-off-by: Nora Schiffer &lt;nora.schiffer@ew.tq-group.com&gt;
Signed-off-by: Alexander Feilke &lt;alexander.feilke@ew.tq-group.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>smbios: add support for dynamic generation of Type 16 table</title>
<updated>2026-02-18T14:27:51Z</updated>
<author>
<name>Raymond Mao</name>
<email>raymondmaoca@gmail.com</email>
</author>
<published>2026-02-13T22:52:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=374896158b435843d8ecf2c04c9985b0321295e0'/>
<id>urn:sha1:374896158b435843d8ecf2c04c9985b0321295e0</id>
<content type='text'>
This commit implements SMBIOS Type 16 (Physical Memory Array)
generation with a hybrid approach supporting both:

1. Explicit definition via Device Tree 'smbios' node:
   Child node under '/smbios/smbios/memory-array' will be used to
   populate as individual Type 16 structure directly.
   - Properties follow SMBIOS field names with lowercase letters and
     hyphen-separated words (e.g., 'memory-error-correction',
     'maximum-capacity', 'extended-maximum-capacity', etc.).
   - This method supports precise platform-defined overrides and system
     descriptions.

2. Fallback to automatic DT-based discovery:
   If child node under '/smbios/smbios/memory-array' does not exist,
   the implementation will:
   - Scan all top-level 'memory@' nodes to populate Type 16 structure with
     inferred size and location data.
   - Scan nodes named or marked as 'memory-controller' and parse
     associated 'dimm@' subnodes (if present) to extract DIMM sizes and
     map them accordingly.

This dual-mode support enables flexible firmware SMBIOS reporting while
aligning with spec-compliant naming and runtime-detected memory topology.

Type 16 support is under GENERATE_SMBIOS_TABLE_VERBOSE to avoid
increasing rom size for those platforms which only require basic SMBIOS
support.

Signed-off-by: Raymond Mao &lt;raymondmaoca@gmail.com&gt;
Tested-by: Ilias Apalodimas &lt;ilias.apalodimas@linaro.org&gt;
</content>
</entry>
<entry>
<title>sysinfo: Add SYSID_BOARD_RAM_SIZE_MB</title>
<updated>2025-02-28T14:41:54Z</updated>
<author>
<name>Baocheng Su</name>
<email>baocheng.su@siemens.com</email>
</author>
<published>2025-02-18T02:36:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c01d633c750e44780843845944256b93869c2b6f'/>
<id>urn:sha1:c01d633c750e44780843845944256b93869c2b6f</id>
<content type='text'>
Add a new field SYSID_BOARD_RAM_SIZE_MB to sysinfo structure to store
the size of RAM in MB. dram_init can use this field to get the RAM size
via sysinfo driver.

Signed-off-by: Baocheng Su &lt;baocheng.su@siemens.com&gt;
</content>
</entry>
<entry>
<title>sysinfo: Add API for accessing data elements</title>
<updated>2025-02-28T14:41:54Z</updated>
<author>
<name>Baocheng Su</name>
<email>baocheng.su@siemens.com</email>
</author>
<published>2025-02-18T02:36:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=920629c5942dc458b2b818a59ba789601185a101'/>
<id>urn:sha1:920629c5942dc458b2b818a59ba789601185a101</id>
<content type='text'>
This commit introduces a new API to the sysinfo module, allowing access
to data elements. This is particularly useful for handling data with
multiple instances, such as MAC addresses.

Signed-off-by: Baocheng Su &lt;baocheng.su@siemens.com&gt;
</content>
</entry>
<entry>
<title>smbios: Fill UUID from sysinfo when available</title>
<updated>2025-02-28T14:41:54Z</updated>
<author>
<name>Baocheng Su</name>
<email>baocheng.su@siemens.com</email>
</author>
<published>2025-02-18T02:36:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6b654ac5a6afa8e03d4d093be7cf27965b5c3c04'/>
<id>urn:sha1:6b654ac5a6afa8e03d4d093be7cf27965b5c3c04</id>
<content type='text'>
Allow for the sysinfo drivers to provide a system UUID to SMBIOS. Will
be first used by the IOT2050 boards.

Signed-off-by: Li Hua Qian &lt;huaqian.li@siemens.com&gt;
Signed-off-by: Jan Kiszka &lt;jan.kiszka@siemens.com&gt;
Signed-off-by: Baocheng Su &lt;baocheng.su@siemens.com&gt;
</content>
</entry>
<entry>
<title>sysinfo: Add sysinfo driver and data structure for smbios</title>
<updated>2025-01-14T20:29:29Z</updated>
<author>
<name>Raymond Mao</name>
<email>raymond.mao@linaro.org</email>
</author>
<published>2024-12-06T22:54:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ce562b42ce096fabb7800887ec4d0a9e81d7d97b'/>
<id>urn:sha1:ce562b42ce096fabb7800887ec4d0a9e81d7d97b</id>
<content type='text'>
Add sysinfo driver to retrieve smbios information (Type 4 and 7).
So that the smbios library can use it for getting values from the
hardware platform instead of device tree.

Signed-off-by: Raymond Mao &lt;raymond.mao@linaro.org&gt;
</content>
</entry>
<entry>
<title>sysinfo: Add sysinfo API for accessing data area</title>
<updated>2025-01-14T20:29:29Z</updated>
<author>
<name>Raymond Mao</name>
<email>raymond.mao@linaro.org</email>
</author>
<published>2024-12-06T22:54:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=dc8053eaee7be64ef17d1bdbcb169af2e611b966'/>
<id>urn:sha1:dc8053eaee7be64ef17d1bdbcb169af2e611b966</id>
<content type='text'>
Add interface for sysinfo to access a data area from the platform.
This is useful to save/read a memory region of platform-specific
data.

Signed-off-by: Raymond Mao &lt;raymond.mao@linaro.org&gt;
</content>
</entry>
<entry>
<title>dm: sysinfo: Shorten the SYSINFO_ID prefix</title>
<updated>2024-11-17T19:12:54Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2024-10-31T17:50:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3fcbae5f849b2a5c36ad5ca0d90dd94191760053'/>
<id>urn:sha1:3fcbae5f849b2a5c36ad5ca0d90dd94191760053</id>
<content type='text'>
We are about to add a large number of new entries. Update the prefix to
be a little shorter.

For SMBIOS items, use SYSID_SM_ (for System Management) which is enough
to distinguish it. For now at least, it seems that most items will be
for SMBIOS.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Raymond Mao &lt;raymond.mao@linaro.org&gt;
</content>
</entry>
<entry>
<title>lib: smbios: Detect system properties via SYSINFO IDs</title>
<updated>2024-06-20T17:41:43Z</updated>
<author>
<name>Michal Simek</name>
<email>michal.simek@amd.com</email>
</author>
<published>2024-04-26T13:38:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a5a57562856e109654e793fc821a7fcb1a914d6e'/>
<id>urn:sha1:a5a57562856e109654e793fc821a7fcb1a914d6e</id>
<content type='text'>
Code is pretty much supports only DT properties and completely ignore
information coming from sysinfo driver.
Code is calling smbios_add_prop() which calls with
smbios_add_prop_si(SYSINFO_ID_NONE). But SYSINFO_ID_NONE can't
differentiate different entries from sysinfo driver.
That's why introduce separate SYSINFO macros which can be used in sysinfo
driver and passed to smbios structure.

Signed-off-by: Michal Simek &lt;michal.simek@amd.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>headers: don't depend on errno.h being available</title>
<updated>2024-01-24T16:12:11Z</updated>
<author>
<name>Max Krummenacher</name>
<email>max.krummenacher@toradex.com</email>
</author>
<published>2024-01-18T18:10:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e2e69291ee6031eccf50113fdd12099a1a7d44ba'/>
<id>urn:sha1:e2e69291ee6031eccf50113fdd12099a1a7d44ba</id>
<content type='text'>
These headers follow the pattern:

| #if CONFIG_IS_ENABLED(FANCY_FEATURE)
|   void foo(void);
| #else
|   static inline void foo(void) { return -ENOSYS; }
| #endif

In the #else path ENOSYS is used, however linux/errno.h is not included.
If errno.h has not been included already the compiler errors out even
if the inline function is not referenced.

Make those headers self contained.

Signed-off-by: Max Krummenacher &lt;max.krummenacher@toradex.com&gt;
Reviewed-by: Francesco Dolcini &lt;francesco.dolcini@toradex.com&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
</feed>
