From 09195ac0f934989c83cb1d08d132ce6d3817151c Mon Sep 17 00:00:00 2001 From: Ravi Sarawadi Date: Thu, 20 Jul 2017 15:11:19 -0700 Subject: soc/intel/apollolake: Update memory HOB info save function SMBIOS memory HOB produced by glk FSP v52_27 has new structure members, which are not available in current apl FSP. New FSP-m header file in https://review.coreboot.org/#/c/20673/ lists new SMBIOS structure members. Break memory HOB save routine into different functions for glk and apl to accomodate new changes. Change-Id: I33c6e4f2842cebbb326b6a05436fa69e3836ffc6 Signed-off-by: Ravi Sarawadi Reviewed-on: https://review.coreboot.org/20674 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) --- src/soc/intel/apollolake/Makefile.inc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/soc/intel/apollolake/Makefile.inc') diff --git a/src/soc/intel/apollolake/Makefile.inc b/src/soc/intel/apollolake/Makefile.inc index af4efc191b..07bbdcdc65 100644 --- a/src/soc/intel/apollolake/Makefile.inc +++ b/src/soc/intel/apollolake/Makefile.inc @@ -27,6 +27,11 @@ romstage-$(CONFIG_SOC_UART_DEBUG) += uart_early.c romstage-y += lpc_lib.c romstage-y += memmap.c romstage-y += meminit.c +ifeq ($(CONFIG_SOC_INTEL_GLK),y) +romstage-y += meminit_util_glk.c +else +romstage-y += meminit_util_apl.c +endif romstage-y += mmap_boot.c romstage-y += pmutil.c romstage-y += reset.c -- cgit v1.2.3