summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/drivers/intel/fsp2_0/header_util/fspupdvpd.spatch11
-rwxr-xr-x[-rw-r--r--]src/drivers/intel/fsp2_0/header_util/fspupdvpd_sanitize.sh0
2 files changed, 11 insertions, 0 deletions
diff --git a/src/drivers/intel/fsp2_0/header_util/fspupdvpd.spatch b/src/drivers/intel/fsp2_0/header_util/fspupdvpd.spatch
index d6bc820c48..fc95f63a9f 100644
--- a/src/drivers/intel/fsp2_0/header_util/fspupdvpd.spatch
+++ b/src/drivers/intel/fsp2_0/header_util/fspupdvpd.spatch
@@ -38,6 +38,17 @@ i;
@@
coccinelle.i = t.rstrip('_t')
+@ convert_FSP_UPD_HEADER @
+typedef FSP_UPD_HEADER;
+@@
+- FSP_UPD_HEADER
++ struct FSP_UPD_HEADER
+
+@ convert_FSPM_ARCH_UPD @
+typedef FSPM_ARCH_UPD;
+@@
+- FSPM_ARCH_UPD
++ struct FSPM_ARCH_UPD
@ convert_named_struct_decls @
type named_struct.t;
diff --git a/src/drivers/intel/fsp2_0/header_util/fspupdvpd_sanitize.sh b/src/drivers/intel/fsp2_0/header_util/fspupdvpd_sanitize.sh
index 2b500539b7..2b500539b7 100644..100755
--- a/src/drivers/intel/fsp2_0/header_util/fspupdvpd_sanitize.sh
+++ b/src/drivers/intel/fsp2_0/header_util/fspupdvpd_sanitize.sh