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>
This commit is contained in:
Lee Leahy 2016-07-12 10:39:13 -07:00
parent c7dfbe26fd
commit aa3e8a8124
2 changed files with 11 additions and 0 deletions

View File

@ -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;

View File