]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
smbios: get_str_from_dt() - add sysinfo_id description
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 29 Jan 2024 12:58:18 +0000 (13:58 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 2 Feb 2024 18:55:29 +0000 (19:55 +0100)
Add description for parameter sysinfo_id of function get_str_from_dt().

Fixes: 07c9e683a484 ("smbios: Allow a few values to come from sysinfo")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/smbios.c

index 7bd9805fec0353067d040372d7f434844bcede03..11b7611a84e90eea6022ccfe50e195bb2de3fbbb 100644 (file)
@@ -207,6 +207,7 @@ void get_str_from_dt(const struct map_sysinfo *nprop, char *str, size_t size)
  *
  * @ctx:       context for writing the tables
  * @prop:      property to write
+ * @sysinfo_id: unique identifier for the string value to be read
  * @dval:      Default value to use if the string is not found or is empty
  * Return:     0 if not found, else SMBIOS string number (1 or more)
  */