diff options
Diffstat (limited to 'include/sysinfo.h')
-rw-r--r-- | include/sysinfo.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/include/sysinfo.h b/include/sysinfo.h index c045d316b07..743f3554659 100644 --- a/include/sysinfo.h +++ b/include/sysinfo.h @@ -31,7 +31,17 @@ * to read the serial number. */ -#if CONFIG_IS_ENABLED(SYSINFO) +/** enum sysinfo_id - Standard IDs defined by U-Boot */ +enum sysinfo_id { + SYSINFO_ID_NONE, + + SYSINFO_ID_SMBIOS_SYSTEM_VERSION, + SYSINFO_ID_SMBIOS_BASEBOARD_VERSION, + + /* First value available for downstream/board used */ + SYSINFO_ID_USER = 0x1000, +}; + struct sysinfo_ops { /** * detect() - Run the hardware info detection procedure for this @@ -102,6 +112,7 @@ struct sysinfo_ops { #define sysinfo_get_ops(dev) ((struct sysinfo_ops *)(dev)->driver->ops) +#if CONFIG_IS_ENABLED(SYSINFO) /** * sysinfo_detect() - Run the hardware info detection procedure for this device. * |