
On Wed, Jul 10, 2019 at 3:02 AM Park, Aiden aiden.park@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@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@gmail.com