diff options
author | Joe McGill <jmcgill@us.ibm.com> | 2017-04-24 09:48:48 -0500 |
---|---|---|
committer | Christian R. Geddes <crgeddes@us.ibm.com> | 2017-08-30 13:35:25 -0400 |
commit | 575afefcab38303f10a05f7619eb56dda6a43a71 (patch) | |
tree | cddc153f88a5705689754d87e6adb08126d99751 /src/import/chips/p9/procedures/hwp/io/p9_io_dmi_attr_update.C | |
parent | 7901cf9e10727a671930cd0d3b2ea1d844471d74 (diff) | |
download | talos-hostboot-575afefcab38303f10a05f7619eb56dda6a43a71.tar.gz talos-hostboot-575afefcab38303f10a05f7619eb56dda6a43a71.zip |
p9_io_dmi_attr_update -- initial release
This HWP is intended to provide a placeholder for user-specified DMI
related attribute overrides in the IPL flow.
Committing an empty shell HWP to satisfy the platform linkage.
Change-Id: I3bd324403dec1f1d099e607c9cbfd2bb8bb335c8
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39597
Reviewed-by: Thi N. Tran <thi@us.ibm.com>
Reviewed-by: Benjamin Gass <bgass@us.ibm.com>
Reviewed-by: Christopher W. Steffen <cwsteffen@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Dev-Ready: Brent Wieman <bwieman@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45324
Tested-by: FSP CI Jenkins <fsp-CI-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>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/io/p9_io_dmi_attr_update.C')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/io/p9_io_dmi_attr_update.C | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/hwp/io/p9_io_dmi_attr_update.C b/src/import/chips/p9/procedures/hwp/io/p9_io_dmi_attr_update.C new file mode 100644 index 000000000..a15d6ac04 --- /dev/null +++ b/src/import/chips/p9/procedures/hwp/io/p9_io_dmi_attr_update.C @@ -0,0 +1,65 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/import/chips/p9/procedures/hwp/io/p9_io_dmi_attr_update.C $ */ +/* */ +/* OpenPOWER HostBoot Project */ +/* */ +/* Contributors Listed Below - COPYRIGHT 2017 */ +/* [+] 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 */ +/// +/// @file p9_io_dmi_attr_update.C +/// @brief Stub to permit DMI related attribute overrides (FAPI2) +/// +//---------------------------------------------------------------------------- +// *HWP HWP Owner : Chris Steffen <cwsteffen@us.ibm.com> +// *HWP HWP Backup Owner: Gary Peterson <garyp@us.ibm.com> +// *HWP FW Owner : Sumit Kumar <sumit_kumar@in.ibm.com> +// *HWP Team : IO +// *HWP Level : 3 +// *HWP Consumed by : HB +//---------------------------------------------------------------------------- + +//------------------------------------------------------------------------------ +// Includes +//------------------------------------------------------------------------------ +#include <p9_io_dmi_attr_update.H> + +//------------------------------------------------------------------------------ +// Function definitions +//------------------------------------------------------------------------------ + +/** + * @brief HWP to permit DMI related attribute overrides + * Should be called for all valid/connected DMI endpoints + * @param[in] i_target Reference to DMI chiplet target + * @param[in] i_connected_target Reference to connected Centaur chip target + * @return FAPI2_RC_SUCCESS on success, error otherwise + */ +fapi2::ReturnCode p9_io_dmi_attr_update( + const fapi2::Target<fapi2::TARGET_TYPE_DMI>& i_target, + const fapi2::Target<fapi2::TARGET_TYPE_MEMBUF_CHIP>& i_connected_target) +{ + // mark HWP entry + FAPI_INF("p9_io_dmi_attr_update: Entering ..."); + + // mark HWP exit + FAPI_INF("p9_io_dmi_attr_update: ...Exiting"); + + return fapi2::FAPI2_RC_SUCCESS; +} |