diff options
author | Nico Huber <nico.huber@secunet.com> | 2017-05-09 16:03:24 +0200 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2017-06-06 17:41:40 +0200 |
commit | e7947df4621ba27c6c41eccb1a98ec414db1082b (patch) | |
tree | 821bc61280c05140a963084658be1b565a911ba9 /src/drivers/intel/fsp1_1/include/fsp | |
parent | c272a87f5c2e3a5173b24c0544297bbcb550c40f (diff) | |
download | coreboot-e7947df4621ba27c6c41eccb1a98ec414db1082b.tar.xz |
fsp1_1: Verify FSP_IMAGE_ID/_REV against headers
FSP_IMAGE_ID and FSP_IMAGE_REV are defined in `FspUpdVpd.h`. Check
against these to avoid mismatching definitions in coreboot and the
FSP blob.
Change-Id: Ic86229e7f0c2d0525b8a79add292c6c81a349aa6
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.coreboot.org/19635
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/drivers/intel/fsp1_1/include/fsp')
-rw-r--r-- | src/drivers/intel/fsp1_1/include/fsp/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/intel/fsp1_1/include/fsp/util.h b/src/drivers/intel/fsp1_1/include/fsp/util.h index 32ac99ee28..8f552560d5 100644 --- a/src/drivers/intel/fsp1_1/include/fsp/util.h +++ b/src/drivers/intel/fsp1_1/include/fsp/util.h @@ -87,6 +87,7 @@ int fsp_relocate(struct prog *fsp_relocd, const struct region_device *fsp_src); #define ERROR_IMAGEBASE_MISMATCH 4 #define ERROR_INFO_HEAD_SIG_MISMATCH 5 #define ERROR_FSP_SIG_MISMATCH 6 +#define ERROR_FSP_REV_MISMATCH 7 #if ENV_RAMSTAGE extern void *FspHobListPtr; |