summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorspashabk-in <shakeebbk@in.ibm.com>2018-08-13 02:20:18 -0500
committerChristian R. Geddes <crgeddes@us.ibm.com>2018-08-21 10:33:43 -0500
commit1a7732ad4182924ef20fe48288406afdf2b4ed69 (patch)
tree10d61d7cb05f7d03954e02c529b46ed445f37415 /src
parent971d57b0cfd81fd1ee68cbf82d08b0db53f17d19 (diff)
downloadtalos-hostboot-1a7732ad4182924ef20fe48288406afdf2b4ed69.tar.gz
talos-hostboot-1a7732ad4182924ef20fe48288406afdf2b4ed69.zip
Introducing lpc utils source file
Including the dummy file so that the platforms could mirror this file without breaking existing implementation. Will follow up with separation of lpc_rw into source file on top of mirrored commits Change-Id: I4596af3a8740cb9593f135a0138e84299a5946ac Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/64298 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Joachim Fenkes <fenkes@de.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/64300 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@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: Christian R. Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src')
-rw-r--r--src/import/chips/p9/procedures/hwp/ffdc/p9_collect_lpc_regs.mk2
-rw-r--r--src/import/chips/p9/procedures/hwp/perv/p9_lpc_utils.C24
-rwxr-xr-xsrc/usr/fapi2/fapi2.mk3
3 files changed, 29 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/hwp/ffdc/p9_collect_lpc_regs.mk b/src/import/chips/p9/procedures/hwp/ffdc/p9_collect_lpc_regs.mk
index 39fc7b19a..e5fcdd0f3 100644
--- a/src/import/chips/p9/procedures/hwp/ffdc/p9_collect_lpc_regs.mk
+++ b/src/import/chips/p9/procedures/hwp/ffdc/p9_collect_lpc_regs.mk
@@ -23,4 +23,6 @@
#
# IBM_PROLOG_END_TAG
PROCEDURE=p9_collect_lpc_regs
+$(call ADD_MODULE_SRCDIR,$(PROCEDURE),$(ROOTPATH)/chips/p9/procedures/hwp/perv)
+OBJS+=p9_lpc_utils.o
$(call BUILD_PROCEDURE)
diff --git a/src/import/chips/p9/procedures/hwp/perv/p9_lpc_utils.C b/src/import/chips/p9/procedures/hwp/perv/p9_lpc_utils.C
new file mode 100644
index 000000000..3eef48911
--- /dev/null
+++ b/src/import/chips/p9/procedures/hwp/perv/p9_lpc_utils.C
@@ -0,0 +1,24 @@
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: src/import/chips/p9/procedures/hwp/perv/p9_lpc_utils.C $ */
+/* */
+/* OpenPOWER HostBoot Project */
+/* */
+/* Contributors Listed Below - COPYRIGHT 2018 */
+/* [+] 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 */
diff --git a/src/usr/fapi2/fapi2.mk b/src/usr/fapi2/fapi2.mk
index b49f515a1..ee734cff0 100755
--- a/src/usr/fapi2/fapi2.mk
+++ b/src/usr/fapi2/fapi2.mk
@@ -52,6 +52,7 @@ EXTRAINCDIR += ${ROOTPATH}/src/import/chips/p9/procedures/hwp/ffdc/
EXTRAINCDIR += ${ROOTPATH}/src/import/chips/p9/procedures/hwp/initfiles/
EXTRAINCDIR += ${HWP_PATH}
EXTRAINCDIR += ${HWP_PATH_1}/hwp/memory/lib/rosetta_map
+EXTRAINCDIR += ${HWP_PATH_1}/hwp/perv
EXTRAINCDIR += ${HWP_PATH_2}/hwp/memory
EXTRAINCDIR += ${HWP_PATH_2}/hwp/memory/lib/
EXTRAINCDIR += ${HWP_PATH_2}/hwp/memory/lib/shared/
@@ -92,6 +93,7 @@ OBJS += fapi2_utils.o
OBJS += p9_collect_some_ffdc.o
OBJS += p9_pib2pcb_mux_seq.o
OBJS += p9_collect_ppe_state.o
+OBJS += p9_lpc_utils.o
OBJS += p9_collect_lpc_regs.o
OBJS += p9_ppe_state.o
OBJS += p9_ppe_utils.o
@@ -193,6 +195,7 @@ VPATH += ${ROOTPATH}/src/import/hwpf/fapi2/src/
VPATH += ${ROOTPATH}/src/import/chips/p9/procedures/hwp/pm/
VPATH += ${ROOTPATH}/src/import/chips/p9/procedures/hwp/ffdc/
VPATH += ${ROOTPATH}/src/import/chips/p9/procedures/hwp/lib/
+VPATH += ${HWP_PATH_1}/hwp/perv/
VPATH += ${ROOTPATH}/src/import/chips/p9/procedures/hwp/initfiles/
VPATH += ${ROOTPATH}/src/import/chips/centaur/utils/imageProcs/
VPATH += ${CENTAUR_VPD_PATH}/
OpenPOWER on IntegriCloud