From f09fcd6fef2f5bd3a575530f74998708ce3b8e79 Mon Sep 17 00:00:00 2001 From: Appukuttan V K Date: Wed, 3 Apr 2024 23:06:26 +0530 Subject: drivers/intel/fsp2_0: Remove x64-specific assertion from fsp_header Same fsp_header struture is being used for x64 and x32 modes and hence dropping the x64 assertion. BUG=b:329034258 TEST=Verified on Meteor Lake board (Rex) Change-Id: I6013af342670e6377a3fe7641d7d9b52c9b6f57c Signed-off-by: Appukuttan V K Reviewed-on: https://review.coreboot.org/c/coreboot/+/81662 Reviewed-by: Subrata Banik Reviewed-by: Arthur Heymans Reviewed-by: Usha P Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/drivers/intel/fsp2_0/include/fsp/info_header.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/drivers') diff --git a/src/drivers/intel/fsp2_0/include/fsp/info_header.h b/src/drivers/intel/fsp2_0/include/fsp/info_header.h index f495822e19cc..a553436166eb 100644 --- a/src/drivers/intel/fsp2_0/include/fsp/info_header.h +++ b/src/drivers/intel/fsp2_0/include/fsp/info_header.h @@ -12,7 +12,6 @@ #define FSP_HDR_ATTRIB_FSPS 3 #define FSP_IMAGE_ID_LENGTH 8 -#if CONFIG(PLATFORM_USES_FSP2_X86_32) struct fsp_header { uint32_t signature; //FSPH uint32_t header_length; @@ -40,9 +39,6 @@ struct fsp_header { uint32_t fsp_multi_phase_mem_init_entry_offset; uint32_t res5; } __packed; -#else -#error You need to implement this struct for x86_64 FSP -#endif enum cb_err fsp_identify(struct fsp_header *hdr, const void *fsp_blob); -- cgit v1.2.3