diff options
author | Bill Schwartz <whs@us.ibm.com> | 2015-02-11 05:17:23 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2015-02-28 05:45:10 -0600 |
commit | a50a539ac062255f4975bf7becb4a903ab75ae22 (patch) | |
tree | c2af7522ea78a7de7c5afdd2774f62cc369a2b6e /src/usr/pnor | |
parent | ab2957e461780b42fb378abcf954baa735dc948b (diff) | |
download | blackbird-hostboot-a50a539ac062255f4975bf7becb4a903ab75ae22.tar.gz blackbird-hostboot-a50a539ac062255f4975bf7becb4a903ab75ae22.zip |
Report pnor side booted up on A/B to OPAL
This story will use the getPnorInfo and getSideInfo interfaces
to fill in devtree entries informing Opal about the existence,
location, and state of PNOR sides that we know about. We will pass up a list
of TOCs associated with the active side and the inactive side.
RTC: 109703
Change-Id: I740b086a9e22a0bc167141e3565bf813e50d9a00
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15727
Reviewed-by: PRACHI GUPTA <pragupta@us.ibm.com>
Tested-by: Jenkins Server
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/pnor')
-rw-r--r-- | src/usr/pnor/pnor_common.H | 1 | ||||
-rw-r--r-- | src/usr/pnor/pnordd.C | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/pnor/pnor_common.H b/src/usr/pnor/pnor_common.H index dd7ab2ea1..7213add40 100644 --- a/src/usr/pnor/pnor_common.H +++ b/src/usr/pnor/pnor_common.H @@ -61,7 +61,6 @@ namespace PNOR { SUPPORTED_FFS_VERSION = 0x1, /**< Supported FFS Version */ FFS_TABLE_BASE_ADDR = 0x0, /**< Currently only have FFS table */ TOC_SIZE = 0x8000, - INVALID_OFFSET = 0xFFFFFFF, }; /** diff --git a/src/usr/pnor/pnordd.C b/src/usr/pnor/pnordd.C index 13667ce3a..c0c7b0ebf 100644 --- a/src/usr/pnor/pnordd.C +++ b/src/usr/pnor/pnordd.C @@ -46,6 +46,7 @@ #include <errl/errludstring.H> #include <targeting/common/targetservice.H> #include "pnordd.H" +#include "pnor_common.H" #include <pnor/pnorif.H> #include <pnor/pnor_reasoncodes.H> #include <sys/time.h> @@ -196,7 +197,7 @@ bool usingL3Cache() */ void getPnorInfo( PnorInfo_t& o_pnorInfo ) { - o_pnorInfo.mmioOffset = 0; //LPC_SFC_MMIO_OFFSET;//@fixme-need Prachi's code for this + o_pnorInfo.mmioOffset = LPC_SFC_MMIO_OFFSET|LPC_FW_SPACE; o_pnorInfo.norWorkarounds = Singleton<PnorDD>::instance().getNorWorkarounds(); o_pnorInfo.flashSize = |