aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2024-01-29 13:58:18 +0100
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2024-02-02 19:55:29 +0100
commitb327e64d5f541072d6a5051c05e5d55440a9038b (patch)
treee0b7a7753f41e725db5b1ad179ec622ab86049f9
parent85e490b22e89890c99660a13131aaeae52b249dd (diff)
downloadu-boot-b327e64d5f541072d6a5051c05e5d55440a9038b.zip
u-boot-b327e64d5f541072d6a5051c05e5d55440a9038b.tar.gz
u-boot-b327e64d5f541072d6a5051c05e5d55440a9038b.tar.bz2
smbios: get_str_from_dt() - add sysinfo_id description
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>
-rw-r--r--lib/smbios.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/smbios.c b/lib/smbios.c
index 7bd9805..11b7611 100644
--- a/lib/smbios.c
+++ b/lib/smbios.c
@@ -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)
*/