summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/cbfs.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/cbfs.h b/include/cbfs.h
index bd1bf75bbf..f2ede25f51 100644
--- a/include/cbfs.h
+++ b/include/cbfs.h
@@ -40,6 +40,17 @@ enum cbfs_filetype {
CBFS_TYPE_CMOS_LAYOUT = 0x01aa
};
+enum {
+ CBFS_HEADER_MAGIC = 0x4f524243,
+};
+
+/**
+ * struct cbfs_header - header at the start of a CBFS region
+ *
+ * All fields use big-endian format.
+ *
+ * @magic: Magic number (CBFS_HEADER_MAGIC)
+ */
struct cbfs_header {
u32 magic;
u32 version;