[U-Boot] [PATCH v3 2/8] x86: Add a common hob library

Bin Meng bmeng.cn at gmail.com
Sun Jul 14 08:49:09 UTC 2019


On Wed, Jul 10, 2019 at 3:02 AM Park, Aiden <aiden.park at intel.com> wrote:
>
> FSP(CONFIG_HAVE_FSP) and Slim Bootloader(CONFIG_SYS_SLIMBOOTLOADER)
> consume HOB data from the each HOB list pointer.
> Add a common hob library/header in lib/hob.c and include/asm/hob.h.
>
> Signed-off-by: Aiden Park <aiden.park at intel.com>
> ---
>
> Changes in v3:
>   * Create a common HOB libary from fsp_hob and fsp_support
>
>  arch/x86/include/asm/fsp/fsp_hob.h     | 183 +-----------------
>  arch/x86/include/asm/fsp/fsp_support.h |  37 +---
>  arch/x86/include/asm/fsp/fsp_types.h   |   8 -
>  arch/x86/include/asm/hob.h             | 250 +++++++++++++++++++++++++
>  arch/x86/lib/Makefile                  |   3 +-
>  arch/x86/lib/fsp/fsp_support.c         |  78 +-------
>  arch/x86/lib/hob.c                     | 104 ++++++++++
>  7 files changed, 361 insertions(+), 302 deletions(-)
>  create mode 100644 arch/x86/include/asm/hob.h
>  create mode 100644 arch/x86/lib/hob.c
>

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


More information about the U-Boot mailing list