From aa3e8a8124fe82aa13eb828b0da69966e4d03cd1 Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Tue, 12 Jul 2016 10:39:13 -0700 Subject: drivers/intel/fsp2_0/header_util: Convert UPD headers Convert the FSP 2.0 UPD headers from typedef to struct: * FSP_UPD_HEADER * FSPM_ARCH_UPD TEST=Build and run on Galileo Gen2 Change-Id: Iab241ea07c955e95ff988a4a30103d2a112179b6 Signed-off-by: Lee Leahy Reviewed-on: https://review.coreboot.org/15856 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/drivers/intel/fsp2_0/header_util/fspupdvpd.spatch | 11 +++++++++++ src/drivers/intel/fsp2_0/header_util/fspupdvpd_sanitize.sh | 0 2 files changed, 11 insertions(+) mode change 100644 => 100755 src/drivers/intel/fsp2_0/header_util/fspupdvpd_sanitize.sh (limited to 'src/drivers') 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 old mode 100644 new mode 100755 -- cgit v1.2.3