[U-Boot] [PATCH v2 2/8] x86: slimbootloader: Add a function to access HOB

Bin Meng bmeng.cn at gmail.com
Tue Jul 2 14:13:23 UTC 2019


Hi Aiden,

On Wed, Jun 26, 2019 at 7:17 AM Park, Aiden <aiden.park at intel.com> wrote:
>
> - Added a function to get a GUID HOB data pointer from hob_list
>

We need some changes to arch/x86/lib/fsp/fsp_support.c: move these
fsp_get_xxx() APIs to a separate module (hob.c?) and rename them to
get_xxx() for both FSP based board and slim bootloader to use. Some
refactor is needed.

> Signed-off-by: Aiden Park <aiden.park at intel.com>
> ---
>  arch/x86/cpu/slimbootloader/Makefile          |  2 +-
>  arch/x86/cpu/slimbootloader/hob.c             | 97 +++++++++++++++++++
>  .../asm/arch-slimbootloader/slimbootloader.h  | 14 +++
>  3 files changed, 112 insertions(+), 1 deletion(-)
>  create mode 100644 arch/x86/cpu/slimbootloader/hob.c
>

Regards,
Bin


More information about the U-Boot mailing list