summaryrefslogtreecommitdiffstats
path: root/src/usr/isteps/mss/makefile
diff options
context:
space:
mode:
authorMatt Derksen <mderkse1@us.ibm.com>2019-04-25 13:21:38 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2019-04-30 12:52:20 -0500
commit6c39a01069eceea95e0637d5d943aa80f8b3e0a0 (patch)
tree442f38752001d3fd4fbb882ab573ea81a217db7f /src/usr/isteps/mss/makefile
parent3b13a6483b18a93d67b36c5a28d07415212a6995 (diff)
downloadtalos-hostboot-6c39a01069eceea95e0637d5d943aa80f8b3e0a0.tar.gz
talos-hostboot-6c39a01069eceea95e0637d5d943aa80f8b3e0a0.zip
Compile Gemini hardware procedures in hostboot
This is just the start of importing/compiling the Gemini hardware procedures. This commit compiles the helper functions in mss library, and then compiles/calls gem_draminit in istep 13. Change-Id: I837a5d8507c882c41650d06bccfcf25cd11688c8 RTC:204647 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/76522 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Glenn Miles <milesg@ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/isteps/mss/makefile')
-rw-r--r--src/usr/isteps/mss/makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/usr/isteps/mss/makefile b/src/usr/isteps/mss/makefile
index 6a97664c9..8b3c959f0 100644
--- a/src/usr/isteps/mss/makefile
+++ b/src/usr/isteps/mss/makefile
@@ -28,6 +28,7 @@ IMPORT_PATH = ${ROOTPATH}/src/import
PROCEDURES_PATH = ${IMPORT_PATH}/chips/p9/procedures
AXONE_PROCEDURES_PATH = ${IMPORT_PATH}/chips/p9a/procedures
EXPLORER_PROCEDURES_PATH = ${IMPORT_PATH}/chips/ocmb/explorer/procedures
+GEMINI_PROCEDURES_PATH = ${IMPORT_PATH}/chips/ocmb/gemini/procedures
#Add all the extra include paths
EXTRAINCDIR += ${ROOTPATH}/src/import/hwpf/fapi2/include
@@ -84,6 +85,9 @@ MSS_LIB += ${EXPLORER_PROCEDURES_PATH}/hwp/memory/lib/fir/
MSS_LIB += ${EXPLORER_PROCEDURES_PATH}/hwp/memory/lib/mcbist/
MSS_LIB += ${EXPLORER_PROCEDURES_PATH}/hwp/memory/lib/phy/
MSS_LIB += ${EXPLORER_PROCEDURES_PATH}/hwp/memory/lib/ecc/
+MSS_LIB += ${GEMINI_PROCEDURES_PATH}/hwp/memory/
+MSS_LIB += ${GEMINI_PROCEDURES_PATH}/hwp/memory/lib/
+
EXTRAINCDIR += ${MSS_LIB}
@@ -200,7 +204,14 @@ MSS_PATH_EXPLORER := $(EXPLORER_PROCEDURES_PATH)/hwp/memory/lib
MSS_EXPLORER_SOURCE := $(shell find $(MSS_PATH_EXPLORER) -name '*.C' -exec basename {} \;)
#must bring explorer_memory_size.o in even in Nimbus/Cumulus builds because of p9_mss_grouping nest HWP
MSS_MODULE_OBJS += $(if $(CONFIG_AXONE),$(patsubst %.C,%.o,$(MSS_EXPLORER_SOURCE)),explorer_memory_size.o)
+
+MSS_PATH_GEMINI := $(GEMINI_PROCEDURES_PATH)/hwp/memory/lib
+MSS_GEMINI_SOURCE := $(shell find $(MSS_PATH_GEMINI) -name '*.C' -exec basename {} \;)
+MSS_MODULE_OBJS += $(if $(CONFIG_AXONE),$(patsubst %.C,%.o,$(MSS_GEMINI_SOURCE)),)
+
+
MODULE = isteps_mss
+
OBJS += $(MSS_MODULE_OBJS)
$(call BUILD_MODULE)
OpenPOWER on IntegriCloud