diff options
author | Lateef Quraishi <lateef@us.ibm.com> | 2016-08-02 11:48:43 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-08-08 09:08:22 -0400 |
commit | 4f6a69855e0912c25f0e3cf3d937162e1b131f3c (patch) | |
tree | ff9284a800444ae98966cb47165717a47ffe13d3 /src/usr | |
parent | 9df9fd233649eeb251f32a1218c73d0eb0dbbda7 (diff) | |
download | talos-hostboot-4f6a69855e0912c25f0e3cf3d937162e1b131f3c.tar.gz talos-hostboot-4f6a69855e0912c25f0e3cf3d937162e1b131f3c.zip |
Create ekb mirror libmss.so for isteps
makefile compiles all files under sub-direcotries and
creates the library. isteps 07, 13 & 14 are including it
Change-Id: I6171b9a1416c1b6ceab6d4e658cd37097d1bd70a
RTC: 157095
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27798
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr')
-rw-r--r-- | src/usr/isteps/istep07/makefile | 15 | ||||
-rw-r--r-- | src/usr/isteps/istep13/makefile | 24 | ||||
-rw-r--r-- | src/usr/isteps/istep14/makefile | 9 | ||||
-rw-r--r-- | src/usr/isteps/makefile | 1 | ||||
-rw-r--r-- | src/usr/isteps/mss/makefile | 78 |
5 files changed, 79 insertions, 48 deletions
diff --git a/src/usr/isteps/istep07/makefile b/src/usr/isteps/istep07/makefile index 426167bcb..dad212312 100644 --- a/src/usr/isteps/istep07/makefile +++ b/src/usr/isteps/istep07/makefile @@ -33,21 +33,6 @@ OBJS += call_mss_freq.o OBJS += call_mss_eff_config.o OBJS += call_mss_attr_update.o -# library objects needed -OBJS += spd_decoder.o -OBJS += fake_spd.o -OBJS += fake_vpd.o -OBJS += c_str.o -OBJS += memory_size.o -OBJS += attr_setters.o -OBJS += cas_latency.o -OBJS += eff_config.o -OBJS += timing.o -OBJS += rank.o -OBJS += sync.o - - - #Add all the extra include paths EXTRAINCDIR += ${ROOTPATH}/src/include/usr/fapi2/ EXTRAINCDIR += ${ROOTPATH}/src/include/usr/sbe/ diff --git a/src/usr/isteps/istep13/makefile b/src/usr/isteps/istep13/makefile index 508f3df27..cad151156 100644 --- a/src/usr/isteps/istep13/makefile +++ b/src/usr/isteps/istep13/makefile @@ -61,30 +61,6 @@ OBJS += call_mss_draminit_training.o OBJS += call_mss_draminit_trainadv.o OBJS += call_mss_draminit_mc.o -#From import/chips/p9/procedures/hwp/memory/lib -OBJS += rank.o -OBJS += c_str.o -OBJS += ccs.o -OBJS += rcd_load.o -OBJS += mrs_load.o -OBJS += mrs_load_ddr4.o -OBJS += rcd_load_ddr4.o -OBJS += ddr_phy.o -OBJS += dp16.o -OBJS += adr32s.o -OBJS += xlate.o -OBJS += port.o -OBJS += memdiags_fir.o -OBJS += mrs00.o -OBJS += mrs01.o -OBJS += mrs02.o -OBJS += mrs03.o -OBJS += mrs04.o -OBJS += mrs05.o -OBJS += mrs06.o - - - OBJS += $(if $(CONFIG_OPENPOWER_VDDR),openpower_vddr.o,hbVddrMsg.o) #HWP build tool diff --git a/src/usr/isteps/istep14/makefile b/src/usr/isteps/istep14/makefile index 6b9a1a5f1..836edad78 100644 --- a/src/usr/isteps/istep14/makefile +++ b/src/usr/isteps/istep14/makefile @@ -50,15 +50,6 @@ OBJS += call_proc_setup_bars.o OBJS += call_proc_htm_setup.o OBJS += call_proc_exit_cache_contained.o OBJS += call_host_mpipl_service.o -OBJS += memdiags.o -OBJS += mcbist.o -OBJS += sim.o -OBJS += rank.o -OBJS += patterns.o - -#Object files from lib directories -OBJS += memory_size.o -OBJS += c_str.o include ${ROOTPATH}/procedure.rules.mk include ${PROCEDURE_PATH}/hwp/nest/p9_htm_setup.mk diff --git a/src/usr/isteps/makefile b/src/usr/isteps/makefile index 9fd69913a..1a448a9c5 100644 --- a/src/usr/isteps/makefile +++ b/src/usr/isteps/makefile @@ -40,6 +40,7 @@ SUBDIRS+=istep20.d SUBDIRS+=istep21.d SUBDIRS+=pm.d SUBDIRS += p9_stop_util.d +SUBDIRS += mss.d OBJS += hwpisteperror.o OBJS += hwpistepud.o diff --git a/src/usr/isteps/mss/makefile b/src/usr/isteps/mss/makefile new file mode 100644 index 000000000..0a96f1063 --- /dev/null +++ b/src/usr/isteps/mss/makefile @@ -0,0 +1,78 @@ +# IBM_PROLOG_BEGIN_TAG +# This is an automatically generated prolog. +# +# $Source: src/usr/isteps/mss/makefile $ +# +# OpenPOWER HostBoot Project +# +# Contributors Listed Below - COPYRIGHT 2016 +# [+] International Business Machines Corp. +# +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +# +# IBM_PROLOG_END_TAG +ROOTPATH = ../../../.. + +PROCEDURES_PATH = ${ROOTPATH}/src/import/chips/p9/procedures + +#Add all the extra include paths +EXTRAINCDIR += ${ROOTPATH}/src/import/hwpf/fapi2/include +EXTRAINCDIR += ${ROOTPATH}/src/include/usr/fapi2/ +EXTRAINCDIR += ${ROOTPATH}/src/import/chips/p9/utils/ +EXTRAINCDIR += ${ROOTPATH}/src/import/chips/p9/utils/imageProcs/ +EXTRAINCDIR += ${ROOTPATH}/src/import/chips/p9/common/include + +EXTRAINCDIR += ${PROCEDURES_PATH}/hwp/memory +EXTRAINCDIR += ${PROCEDURES_PATH}/hwp/memory/lib +EXTRAINCDIR += ${PROCEDURES_PATH}/hwp/memory/lib/ccs/ +EXTRAINCDIR += ${PROCEDURES_PATH}/hwp/memory/lib/dimm/ +EXTRAINCDIR += ${PROCEDURES_PATH}/hwp/memory/lib/dimm/ddr4/ +EXTRAINCDIR += ${PROCEDURES_PATH}/hwp/memory/lib/ecc/ +EXTRAINCDIR += ${PROCEDURES_PATH}/hwp/memory/lib/eff_config/ +EXTRAINCDIR += ${PROCEDURES_PATH}/hwp/memory/lib/fir/ +EXTRAINCDIR += ${PROCEDURES_PATH}/hwp/memory/lib/freq/ +EXTRAINCDIR += ${PROCEDURES_PATH}/hwp/memory/lib/mc/ +EXTRAINCDIR += ${PROCEDURES_PATH}/hwp/memory/lib/mcbist/ +EXTRAINCDIR += ${PROCEDURES_PATH}/hwp/memory/lib/phy/ +EXTRAINCDIR += ${PROCEDURES_PATH}/hwp/memory/lib/spd/ +EXTRAINCDIR += ${PROCEDURES_PATH}/hwp/memory/lib/termination/ +EXTRAINCDIR += ${PROCEDURES_PATH}/hwp/memory/lib/utils/ + +# Add common and generated parts to object list. + +MSS_PATH := $(PROCEDURES_PATH)/hwp/memory/lib +MSS_SOURCE := $(shell find $(MSS_PATH) -name '*.C' -exec basename {} \;) +MSS_MODULE_OBJS += $(patsubst %.C,%.o,$(MSS_SOURCE)) + +MODULE = isteps_mss +OBJS += $(MSS_MODULE_OBJS) +$(call BUILD_MODULE) + +#HWP build tool +include ${ROOTPATH}/procedure.rules.mk +include ${ROOTPATH}/config.mk + +VPATH += ${PROCEDURES_PATH}/hwp/memory/lib/ccs/ +VPATH += ${PROCEDURES_PATH}/hwp/memory/lib/dimm/ +VPATH += ${PROCEDURES_PATH}/hwp/memory/lib/dimm/ddr4 +VPATH += ${PROCEDURES_PATH}/hwp/memory/lib/ecc/ +VPATH += ${PROCEDURES_PATH}/hwp/memory/lib/eff_config/ +VPATH += ${PROCEDURES_PATH}/hwp/memory/lib/fir/ +VPATH += ${PROCEDURES_PATH}/hwp/memory/lib/freq/ +VPATH += ${PROCEDURES_PATH}/hwp/memory/lib/mc/ +VPATH += ${PROCEDURES_PATH}/hwp/memory/lib/mcbist/ +VPATH += ${PROCEDURES_PATH}/hwp/memory/lib/phy/ +VPATH += ${PROCEDURES_PATH}/hwp/memory/lib/spd/ +VPATH += ${PROCEDURES_PATH}/hwp/memory/lib/termination/ +VPATH += ${PROCEDURES_PATH}/hwp/memory/lib/utils/ |