From 9657fc2bd95955b22b5b4fb19e1a98d632f1887a Mon Sep 17 00:00:00 2001 From: Wim Vervoorn Date: Thu, 28 May 2020 13:50:33 +0200 Subject: [PATCH] commonlib: Add CBFS_TYPE_BOOTBLOCK MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/41824 Reviewed-by: Kyösti Mälkki Reviewed-by: Frans Hendriks Tested-by: build bot (Jenkins) --- src/commonlib/bsd/include/commonlib/bsd/cbfs_serialized.h | 1 + 1 file changed, 1 insertion(+) 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