diff options
| author | Matthew Raybuck <matthew.raybuck@ibm.com> | 2019-03-12 12:18:53 -0500 |
|---|---|---|
| committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2019-03-18 13:10:05 -0500 |
| commit | d47b63700d87c88085f114b66ea02d99f19a5e62 (patch) | |
| tree | 5c71bb9cd204e40a6344740f04bd0a41c880a4bf /src/include/usr | |
| parent | 656ba908c6f2e83c8e7323d6774709e44361443d (diff) | |
| download | blackbird-hostboot-d47b63700d87c88085f114b66ea02d99f19a5e62.tar.gz blackbird-hostboot-d47b63700d87c88085f114b66ea02d99f19a5e62.zip | |
Add functions to get Device Id and MFR revision from UCD
This will add the necessary functions to properly read the Device Id and
MFR revision from the UCD90* devices on a ZZ or Zeppelin system.
Change-Id: I38ffdffb62bf1c1af8941819cdbd74458308879f
RTC:205979
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/73185
Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com>
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: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr')
| -rw-r--r-- | src/include/usr/ucd/ucd_reasoncodes.H | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/src/include/usr/ucd/ucd_reasoncodes.H b/src/include/usr/ucd/ucd_reasoncodes.H new file mode 100644 index 000000000..bfa18397f --- /dev/null +++ b/src/include/usr/ucd/ucd_reasoncodes.H @@ -0,0 +1,46 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/include/usr/ucd/ucd_reasoncodes.H $ */ +/* */ +/* OpenPOWER HostBoot Project */ +/* */ +/* Contributors Listed Below - COPYRIGHT 2019 */ +/* [+] 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 */ +#ifndef __UCD_REASONCODES_H +#define __UCD_REASONCODES_H + +#include <hbotcompid.H> + +namespace UCD_RC +{ + + enum UcdModuleId + { + MOD_UCD_INIT = 0x01, + }; + + enum UcdReasonCode + { + RC_DEVICE_READ_UNEXPECTED_SIZE_DEVICE_ID = UCD_COMP_ID | 0x01, + RC_DEVICE_READ_UNEXPECTED_SIZE_MFR_REVISION = UCD_COMP_ID | 0x02, + }; + +}; // namespace UCD + +#endif |

