[U-Boot] [PATCH v9 3/9] x86: Add a common HOB library
Bin Meng
bmeng.cn at gmail.com
Thu Aug 8 14:53:03 UTC 2019
On Sat, Aug 3, 2019 at 4:30 PM 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.
>
> Signed-off-by: Aiden Park <aiden.park at intel.com>
> Reviewed-by: Andy Shevchenko <andy.shevchenko at gmail.com>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
> Tested-by: Bin Meng <bmeng.cn at gmail.com>
> ---
> Changes in v8:
> * Add a space between acronym and (definition)
>
> Changes in v7:
> * Split HOB library into EFI_GUID pre-work and making a common lirary
>
> Changes in v6:
> * Use CONFIG_USE_HOB
> * Change struct efi_guid to efi_guid_t
> * Use EFI_GUID to define GUIDs
>
> Changes in v3:
> * Create a common HOB libary from fsp_hob and fsp_support
>
> arch/x86/include/asm/fsp/fsp_hob.h | 184 +---------------
> arch/x86/include/asm/fsp/fsp_support.h | 37 +---
> arch/x86/include/asm/{fsp/fsp_hob.h => hob.h} | 196 +++++++-----------
> arch/x86/lib/Makefile | 1 +
> arch/x86/lib/fsp/fsp_support.c | 57 +----
> arch/x86/lib/hob.c | 84 ++++++++
> cmd/x86/Makefile | 1 +
> cmd/x86/fsp.c | 65 +-----
> cmd/x86/hob.c | 77 +++++++
> 9 files changed, 242 insertions(+), 460 deletions(-)
> copy arch/x86/include/asm/{fsp/fsp_hob.h => hob.h} (67%)
> create mode 100644 arch/x86/lib/hob.c
> create mode 100644 cmd/x86/hob.c
>
applied to u-boot-x86, thanks!
More information about the U-Boot
mailing list