x86: Add a common HOB library
authorPark, Aiden <aiden.park@intel.com>
Sat, 3 Aug 2019 08:30:31 +0000 (08:30 +0000)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 9 Aug 2019 14:24:02 +0000 (22:24 +0800)
commit7165fd584fe7644113ebac98e4c5290685d2549c
tree56f5217eab8aca12f7b3ffa521509bf3dd4640cd
parent5b931a508053b63b8596f6f65f211017b8a82394
x86: Add a common HOB library

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@intel.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/include/asm/fsp/fsp_hob.h
arch/x86/include/asm/fsp/fsp_support.h
arch/x86/include/asm/hob.h [new file with mode: 0644]
arch/x86/lib/Makefile
arch/x86/lib/fsp/fsp_support.c
arch/x86/lib/hob.c [new file with mode: 0644]
cmd/x86/Makefile
cmd/x86/fsp.c
cmd/x86/hob.c [new file with mode: 0644]