summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2023-11-12 19:58:28 -0700
committerTom Rini <[email protected]>2023-11-28 12:53:04 -0500
commit6f646d13f4308fcea0b73d46907ad11036afebd8 (patch)
treecf4a3846d793fca73edb6223d3cd94586b5d4bc4 /include
parentd2a1b432a8c10eef247fc580c4cc434e284b13f0 (diff)
sysinfo: Allow displaying more info on startup
At present only the model name is shown on start. Some boards want to display more information. Add some more options to allow display of the manufacturer as well as the version and date of any prior-stage firmware. This is useful for coreboot, at least. If other boards have more information to display, it is easy to add it, now. Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/sysinfo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sysinfo.h b/include/sysinfo.h
index b140d742e93..f2c1aa29d18 100644
--- a/include/sysinfo.h
+++ b/include/sysinfo.h
@@ -46,6 +46,9 @@ enum sysinfo_id {
/* For show_board_info() */
SYSINFO_ID_BOARD_MODEL,
+ SYSINFO_ID_BOARD_MANUFACTURER,
+ SYSINFO_ID_PRIOR_STAGE_VERSION,
+ SYSINFO_ID_PRIOR_STAGE_DATE,
/* First value available for downstream/board used */
SYSINFO_ID_USER = 0x1000,