diff options
author | Nick Bofferding <bofferdn@us.ibm.com> | 2014-10-14 17:11:08 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-10-21 13:04:27 -0500 |
commit | 198e80b53d58c506c0db4d5de4eb5b8e4bed2aed (patch) | |
tree | 39584598948756cf0a4fa826f94fc9d75e0d0998 /src/include/usr/errl | |
parent | ffe1209fc922a571cc9fc6864c7f437b230aa8af (diff) | |
download | talos-hostboot-198e80b53d58c506c0db4d5de4eb5b8e4bed2aed.tar.gz talos-hostboot-198e80b53d58c506c0db4d5de4eb5b8e4bed2aed.zip |
Move FSP-only attributes to common targeting for Open Power
- Added default lane masks to Hostboot system XML files
- Added PCIE config related module IDs and reason codes
- Added new packing function to combine 4x uint8 into 1x uint32
- Added dynamic PCIE config for SP-less environments
- Moved PCIE attributes into common attribute definition
- Attached new PCIE attributes to common target definition
- Defaulted PCIE lanes per proc appropriately for all proc chips
- Added CDM_DOMAIN attribute into common attribute definition
- Attached + defaulted CDM domain in common target definition
- Updated common MRW parser to customize the new PCIE attributes
Change-Id: I3779ca6e6a4803d7e78e21e47a92e0b1a09e657d
RTC: 113488
CMVC-coreq: 942076
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/13997
Tested-by: Jenkins Server
Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com>
Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/errl')
-rw-r--r-- | src/include/usr/errl/hberrltypes.H | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/usr/errl/hberrltypes.H b/src/include/usr/errl/hberrltypes.H index 94e3722a8..e948e4df0 100644 --- a/src/include/usr/errl/hberrltypes.H +++ b/src/include/usr/errl/hberrltypes.H @@ -79,6 +79,11 @@ namespace ERRORLOG { class ErrlEntry; }; ( (TO_UINT64(TWO_UINT16_TO_UINT32(mostleft_16, left_16)) << 32) | \ (TO_UINT64(TWO_UINT16_TO_UINT32(right_16, mostright_16))) ) +// uint32_t val = 8bit:8bit:8bit:8bit +#define FOUR_UINT8_TO_UINT32(mostleft_8, left_8, right_8, mostright_8) \ + ( (TO_UINT32(TWO_UINT8_TO_UINT16(mostleft_8, left_8)) << 16) | \ + (TO_UINT32(TWO_UINT8_TO_UINT16(right_8, mostright_8))) ) + namespace ERRORLOG { |