aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/boot/coreboot_tables.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/boot/coreboot_tables.h')
-rw-r--r--src/include/boot/coreboot_tables.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/boot/coreboot_tables.h b/src/include/boot/coreboot_tables.h
index 7b5da64ec..35ebd6eb3 100644
--- a/src/include/boot/coreboot_tables.h
+++ b/src/include/boot/coreboot_tables.h
@@ -296,6 +296,9 @@ struct lb_spi_flash {
uint32_t erase_cmd;
};
+#define LB_TAG_SERIALNO 0x002a
+#define MAX_SERIALNO_LENGTH 32
+
/* The following structures are for the cmos definitions table */
#define LB_TAG_CMOS_OPTION_TABLE 200
/* cmos header record */
@@ -392,6 +395,8 @@ void lb_board(struct lb_header *header);
*/
void lb_table_add_macs_from_vpd(struct lb_header *header);
+void lb_table_add_serialno_from_vpd(struct lb_header *header);
+
struct lb_record *lb_new_record(struct lb_header *header);
#endif /* COREBOOT_TABLES_H */