From a50a539ac062255f4975bf7becb4a903ab75ae22 Mon Sep 17 00:00:00 2001 From: Bill Schwartz Date: Wed, 11 Feb 2015 05:17:23 -0600 Subject: 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 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell Reviewed-by: A. Patrick Williams III --- src/usr/pnor/pnor_common.H | 1 - src/usr/pnor/pnordd.C | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/usr/pnor') 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 #include #include "pnordd.H" +#include "pnor_common.H" #include #include #include @@ -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::instance().getNorWorkarounds(); o_pnorInfo.flashSize = -- cgit v1.2.1