[U-Boot] [PATCH v7 2/9] x86: lib: fsp: Use EFI_GUID and efi_guid_t

Bin Meng bmeng.cn at gmail.com
Thu Aug 1 05:55:47 UTC 2019


On Mon, Jul 29, 2019 at 12:35 PM Park, Aiden <aiden.park at intel.com> wrote:
>
> 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 at intel.com>
> ---
>
> Changes in v7:
>   * Split HOB library into EFI_GUID pre-work and making a common library
>
>  arch/x86/include/asm/fsp/fsp_ffs.h     |  4 +-
>  arch/x86/include/asm/fsp/fsp_fv.h      |  4 +-
>  arch/x86/include/asm/fsp/fsp_hob.h     | 76 +++++++++++++------------
>  arch/x86/include/asm/fsp/fsp_support.h |  6 +-
>  arch/x86/include/asm/fsp/fsp_types.h   |  8 ---
>  arch/x86/lib/fsp/fsp_support.c         | 78 ++++++++++----------------
>  cmd/x86/fsp.c                          | 10 ++--
>  7 files changed, 81 insertions(+), 105 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>

Tested on MinnowMax
Tested-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list