diff options
| author | Richard J. Knight <rjknight@us.ibm.com> | 2018-01-10 23:08:06 -0600 |
|---|---|---|
| committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-03-02 11:52:56 -0500 |
| commit | 221f056134993b08c809d6d3782a70e1c99fa17c (patch) | |
| tree | ce7a2a380a43d3c95abf13cd619a0d045fc4717a /src/usr/imageprocs | |
| parent | 13dd75dd4dc3b83f32b90f375c204ae43ca3948a (diff) | |
| download | talos-hostboot-221f056134993b08c809d6d3782a70e1c99fa17c.tar.gz talos-hostboot-221f056134993b08c809d6d3782a70e1c99fa17c.zip | |
Introduce new shared library for image processing fucntions
-Moved xip functions from pm lib into libimageprocs.so
-Updated DEPLIBS to include new libimageprocs.so for istep
libs.
Change-Id: I9e1c90643448146f6e8ef953106c0eea521e35f0
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/51754
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
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: William G. Hoffa <wghoffa@us.ibm.com>
CI-Ready: Thi N. Tran <thi@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/imageprocs')
| -rw-r--r-- | src/usr/imageprocs/imageprocs.mk | 70 | ||||
| -rw-r--r-- | src/usr/imageprocs/makefile | 33 | ||||
| -rw-r--r-- | src/usr/imageprocs/runtime/makefile | 35 |
3 files changed, 138 insertions, 0 deletions
diff --git a/src/usr/imageprocs/imageprocs.mk b/src/usr/imageprocs/imageprocs.mk new file mode 100644 index 000000000..1cf436072 --- /dev/null +++ b/src/usr/imageprocs/imageprocs.mk @@ -0,0 +1,70 @@ +# IBM_PROLOG_BEGIN_TAG +# This is an automatically generated prolog. +# +# $Source: src/usr/imageprocs/imageprocs.mk $ +# +# 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 +# xip image processing functions +HWP_XIP_PATH := ${ROOTPATH}/src/import/chips/p9/xip + +# p9 ring id +HWP_IMAGEPROCS_PATH := ${ROOTPATH}/src/import/chips/p9/utils/imageProcs + +# centaur ring id +HWP_CEN_IMAGEPROCS_PATH += \ + ${ROOTPATH}/src/import/chips/centaur/utils/imageProcs + +# common ring id +HWP_COMMON_IMAGEPROCS_PATH += \ + ${ROOTPATH}/src/import/chips/common/utils/imageProcs + +# xip customize path +XIP_CUSTOMIZE_PATH = ${ROOTPATH}/src/import/chips/p9/procedures/hwp/customize + +# vpd accesssors +HWP_ACC_PATH += ${ROOTPATH}/src/import/chips/p9/procedures/hwp/accessors + +VPATH += ${HWP_XIP_PATH} ${HWP_IMAGEPROCS_PATH} ${HWP_CEN_IMAGEPROCS_PATH} \ + ${HWP_COMMON_IMAGEPROCS_PATH} ${HWP_STOPUTIL_PATH} +VPATH += ${XIP_CUSTOMIZE_PATH} ${HWP_ACC_PATH} + +EXTRAINCDIR += ${HWP_XIP_PATH} ${HWP_IMAGEPROCS_PATH} +EXTRAINCDIR += ${HWP_CEN_IMAGEPROCS_PATH} ${HWP_COMMON_IMAGEPROCS_PATH} +EXTRAINCDIR += ${ROOTPATH}/src/import/hwpf/fapi2/include/ +EXTRAINCDIR += ${ROOTPATH}/src/include/usr/fapi2/ +EXTRAINCDIR += ${XIP_CUSTOMIZE_PATH} +EXTRAINCDIR += ${HWP_ACC_PATH} + +include ${ROOTPATH}/procedure.rules.mk + +include ${XIP_CUSTOMIZE_PATH}/p9_xip_customize.mk +include ${XIP_CUSTOMIZE_PATH}/p9_xip_section_append.mk +include ${HWP_XIP_PATH}/p9_xip_image.mk +include ${HWP_IMAGEPROCS_PATH}/p9_dd_container.mk +include ${HWP_IMAGEPROCS_PATH}/p9_tor.mk +include ${HWP_IMAGEPROCS_PATH}/p9_ring_identification.mk +include ${HWP_IMAGEPROCS_PATH}/p9_ringId.mk +include ${HWP_CEN_IMAGEPROCS_PATH}/cen_ringId.mk +include ${HWP_COMMON_IMAGEPROCS_PATH}/common_ringId.mk +include ${HWP_IMAGEPROCS_PATH}/p9_scan_compression.mk +include ${HWP_ACC_PATH}/p9_get_mvpd_ring.mk +include ${HWP_ACC_PATH}/p9_mvpd_ring_funcs.mk + diff --git a/src/usr/imageprocs/makefile b/src/usr/imageprocs/makefile new file mode 100644 index 000000000..f84d3f66f --- /dev/null +++ b/src/usr/imageprocs/makefile @@ -0,0 +1,33 @@ +# IBM_PROLOG_BEGIN_TAG +# This is an automatically generated prolog. +# +# $Source: src/usr/imageprocs/makefile $ +# +# 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 +ROOTPATH = ../../.. + +MODULE = imageprocs + +SUBDIRS += runtime.d + +include imageprocs.mk + +include ${ROOTPATH}/config.mk diff --git a/src/usr/imageprocs/runtime/makefile b/src/usr/imageprocs/runtime/makefile new file mode 100644 index 000000000..d07b16915 --- /dev/null +++ b/src/usr/imageprocs/runtime/makefile @@ -0,0 +1,35 @@ +# IBM_PROLOG_BEGIN_TAG +# This is an automatically generated prolog. +# +# $Source: src/usr/imageprocs/runtime/makefile $ +# +# 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 +HOSTBOOT_RUNTIME = 1 + +ROOTPATH = ../../../.. + +MODULE = imageprocs_rt + +VPATH += ../ + +include ../imageprocs.mk + +include ${ROOTPATH}/config.mk |

