aboutsummaryrefslogtreecommitdiff
path: root/include/sysinfo.h
diff options
context:
space:
mode:
authorSimon Glass2021-03-21 16:50:06 +1300
committerSimon Glass2021-03-27 16:26:48 +1300
commit96dedb0da2e8b27165c755fab8d06b15a8b8097a (patch)
tree3125fc55baefa3bd080010aad8588267bf6c7715 /include/sysinfo.h
parentc119528a1dd0ac719040d234c0a368a0ebaeb745 (diff)
sysinfo: Allow showing model info from sysinfo
Some boards may want to show the SKU ID or other information obtained at runtime. Allow this to come from sysinfo. The board can then provide a sysinfo driver to provide it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/sysinfo.h')
-rw-r--r--include/sysinfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sysinfo.h b/include/sysinfo.h
index 270ac1b377f..68fad25a065 100644
--- a/include/sysinfo.h
+++ b/include/sysinfo.h
@@ -37,9 +37,13 @@ struct udevice;
enum sysinfo_id {
SYSINFO_ID_NONE,
+ /* For SMBIOS tables */
SYSINFO_ID_SMBIOS_SYSTEM_VERSION,
SYSINFO_ID_SMBIOS_BASEBOARD_VERSION,
+ /* For show_board_info() */
+ SYSINFO_ID_BOARD_MODEL,
+
/* First value available for downstream/board used */
SYSINFO_ID_USER = 0x1000,
};