[U-Boot] [PATCH v6 2/8] x86: Add a common HOB library

Andy Shevchenko andy.shevchenko at gmail.com
Fri Jul 26 10:32:23 UTC 2019


On Fri, Jul 26, 2019 at 10:00 AM Park, Aiden <aiden.park at intel.com> wrote:
>
> FSP(CONFIG_HAVE_FSP) and Slim Bootloader(CONFIG_SYS_SLIMBOOTLOADER)
> consume HOB(CONFIG_USE_HOB) data from the each HOB list pointer.
> Add a common HOB library in lib/hob.c and include/asm/hob.h.

>  #define FSP_HEADER_GUID \
> -       { \
> -       FSP_GUID_DATA1, FSP_GUID_DATA2, FSP_GUID_DATA3, \
> -       { FSP_GUID_DATA4_0, FSP_GUID_DATA4_1, FSP_GUID_DATA4_2, \
> -         FSP_GUID_DATA4_3, FSP_GUID_DATA4_4, FSP_GUID_DATA4_5, \
> -         FSP_GUID_DATA4_6, FSP_GUID_DATA4_7 } \
> -       }
> +       EFI_GUID(FSP_GUID_DATA1, FSP_GUID_DATA2, FSP_GUID_DATA3, \
> +               FSP_GUID_DATA4_0, FSP_GUID_DATA4_1, FSP_GUID_DATA4_2, \
> +               FSP_GUID_DATA4_3, FSP_GUID_DATA4_4, FSP_GUID_DATA4_5, \
> +               FSP_GUID_DATA4_6, FSP_GUID_DATA4_7)

This kind of change better to do in the separate patch (as a
preparatory action).

-- 
With Best Regards,
Andy Shevchenko


More information about the U-Boot mailing list