aboutsummaryrefslogtreecommitdiff
path: root/src/vendorcode/intel/fsp/fsp2_0/cooperlake_sp/FspmUpd.h
diff options
context:
space:
mode:
authorAndrey Petrov <anpetrov@fb.com>2020-03-19 15:11:59 -0700
committerAndrey Petrov <anpetrov@fb.com>2020-03-26 18:14:16 +0000
commit7b42bba3cf287e13eff6b86326f55ef6bf6ff6e0 (patch)
tree0c8f41198269fafcfd89e3b12206a19822f7ea90 /src/vendorcode/intel/fsp/fsp2_0/cooperlake_sp/FspmUpd.h
parent2e410757efb824555191d8afd78cf79ab5ba6049 (diff)
vendorcode: Add fake Cooperlake-SP FSP header files
These header files are just placeholders. Currently FSP does not look into any real platform-specific UPD fields anyway, so having padding instead of real thing makes no difference. Signed-off-by: Andrey Petrov <anpetrov@fb.com> Change-Id: Id123f4386124b2ceb7776ab719a9970c9c23a0e0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/39711 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: David Hendricks <david.hendricks@gmail.com>
Diffstat (limited to 'src/vendorcode/intel/fsp/fsp2_0/cooperlake_sp/FspmUpd.h')
-rw-r--r--src/vendorcode/intel/fsp/fsp2_0/cooperlake_sp/FspmUpd.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/vendorcode/intel/fsp/fsp2_0/cooperlake_sp/FspmUpd.h b/src/vendorcode/intel/fsp/fsp2_0/cooperlake_sp/FspmUpd.h
new file mode 100644
index 0000000000..bdd80ece7d
--- /dev/null
+++ b/src/vendorcode/intel/fsp/fsp2_0/cooperlake_sp/FspmUpd.h
@@ -0,0 +1,22 @@
+#ifndef __FSPMUPD_H__
+#define __FSPMUPD_H__
+
+#include <FspEas.h>
+#include <FspUpd.h>
+
+#pragma pack (1)
+
+typedef struct {
+uint8_t padding[208];
+} FSPM_CONFIG;
+
+typedef struct {
+ FSP_UPD_HEADER FspUpdHeader;
+ FSPM_ARCH_UPD FspmArchUpd;
+ FSPM_CONFIG FspmConfig;
+ uint16_t UpdTerminator;
+} FSPM_UPD;
+
+#pragma pack(1)
+
+#endif