From 1a7732ad4182924ef20fe48288406afdf2b4ed69 Mon Sep 17 00:00:00 2001 From: spashabk-in Date: Mon, 13 Aug 2018 02:20:18 -0500 Subject: 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 Tested-by: Hostboot CI Reviewed-by: Sachin Gupta Reviewed-by: Joachim Fenkes Reviewed-by: Jennifer A. Stofer Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/64300 Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Christian R. Geddes --- .../p9/procedures/hwp/ffdc/p9_collect_lpc_regs.mk | 2 ++ .../chips/p9/procedures/hwp/perv/p9_lpc_utils.C | 24 ++++++++++++++++++++++ src/usr/fapi2/fapi2.mk | 3 +++ 3 files changed, 29 insertions(+) create mode 100644 src/import/chips/p9/procedures/hwp/perv/p9_lpc_utils.C (limited to 'src') 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}/ -- cgit v1.2.1