x86: lib: fsp: Use EFI_GUID and efi_guid_t
authorPark, Aiden <aiden.park@intel.com>
Sat, 3 Aug 2019 08:30:20 +0000 (08:30 +0000)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 9 Aug 2019 14:24:02 +0000 (22:24 +0800)
commit5b931a508053b63b8596f6f65f211017b8a82394
tree90499c1874dbd89e89c2dae530d1b77ee3af96d7
parent544293f87850b415721690533dae2d27f77f44f3
x86: lib: fsp: Use EFI_GUID and efi_guid_t

Use existing EFI_GUID and efi_guid_t instead of struct efi_guid.
This is pre-work before making a common HOB library.
- Change 'struct efi_guid' to efi_guit_t
- Remove 'struct efi_guid'
- Define GUIDs with EFI_GUID() macro
- Use guidcmp() instead of compare_guid()
- Remove compare_guid()

Signed-off-by: Aiden Park <aiden.park@intel.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested on MinnowMax
Tested-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/include/asm/fsp/fsp_ffs.h
arch/x86/include/asm/fsp/fsp_fv.h
arch/x86/include/asm/fsp/fsp_hob.h
arch/x86/include/asm/fsp/fsp_support.h
arch/x86/include/asm/fsp/fsp_types.h
arch/x86/lib/fsp/fsp_support.c
cmd/x86/fsp.c