summaryrefslogtreecommitdiff
path: root/src/commonlib
diff options
context:
space:
mode:
authorWim Vervoorn <wvervoorn@eltan.com>2020-05-28 13:50:33 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-06-02 07:26:44 +0000
commit9657fc2bd95955b22b5b4fb19e1a98d632f1887a (patch)
tree776f0f216e573236eb1e972cb622026743f2a9cd /src/commonlib
parent57bbcb3dff99f5eeba390ccd216cd4306107582b (diff)
commonlib: Add CBFS_TYPE_BOOTBLOCK
Add CBFS_TYPE_BOOTBLOCK to allow accessing the bootblock as a CBFS file. BUG=N/A TEST=build Change-Id: Ibb03ac3a6cd8711e0402e47335bb8e110c6ef61a Signed-off-by: Wim Vervoorn <wvervoorn@eltan.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41824 Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Frans Hendriks <fhendriks@eltan.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/commonlib')
-rw-r--r--src/commonlib/bsd/include/commonlib/bsd/cbfs_serialized.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commonlib/bsd/include/commonlib/bsd/cbfs_serialized.h b/src/commonlib/bsd/include/commonlib/bsd/cbfs_serialized.h
index d2fc6267ad..af4baf512b 100644
--- a/src/commonlib/bsd/include/commonlib/bsd/cbfs_serialized.h
+++ b/src/commonlib/bsd/include/commonlib/bsd/cbfs_serialized.h
@@ -21,6 +21,7 @@
#define CBFS_TYPE_DELETED 0x00000000
#define CBFS_TYPE_DELETED2 0xffffffff
+#define CBFS_TYPE_BOOTBLOCK 0x01
#define CBFS_TYPE_STAGE 0x10
#define CBFS_TYPE_SELF 0x20
#define CBFS_TYPE_FIT 0x21