diff options
author | Lee Leahy <leroy.p.leahy@intel.com> | 2016-07-12 10:39:13 -0700 |
---|---|---|
committer | Lee Leahy <leroy.p.leahy@intel.com> | 2016-07-26 23:23:31 +0200 |
commit | aa3e8a8124fe82aa13eb828b0da69966e4d03cd1 (patch) | |
tree | 61d01a99cf8a93e43d4bf44daf678fa53dbb0a50 /src/drivers/intel/fsp2_0 | |
parent | c7dfbe26fd2baf373a439fa5edfe23da9a25c8b7 (diff) |
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 <leroy.p.leahy@intel.com>
Reviewed-on: https://review.coreboot.org/15856
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/drivers/intel/fsp2_0')
-rw-r--r-- | src/drivers/intel/fsp2_0/header_util/fspupdvpd.spatch | 11 | ||||
-rwxr-xr-x[-rw-r--r--] | src/drivers/intel/fsp2_0/header_util/fspupdvpd_sanitize.sh | 0 |
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 |