diff options
author | Adam Muhle <armuhle@us.ibm.com> | 2012-06-25 07:50:23 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2012-07-09 12:23:40 -0500 |
commit | a87cb9ce7a0322f9fd6c6e015894f12a2975e10f (patch) | |
tree | 036b9f7d634493154723b3d1c4171fbed1938aa3 /src/usr/vfs | |
parent | dfff59856617139f7776d473fdc226a91761128e (diff) | |
download | talos-hostboot-a87cb9ce7a0322f9fd6c6e015894f12a2975e10f.tar.gz talos-hostboot-a87cb9ce7a0322f9fd6c6e015894f12a2975e10f.zip |
Update PNOR RP to parse FFS Partition Table
This function allows us to support varied PNOR
layouts in Hostboot.
Change-Id: I7294999d3619692aaab424dca1ae608a0a84fa81
RTC: 35057
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1274
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/vfs')
-rw-r--r-- | src/usr/vfs/vfsrp.C | 49 |
1 files changed, 25 insertions, 24 deletions
diff --git a/src/usr/vfs/vfsrp.C b/src/usr/vfs/vfsrp.C index 42a63ea86..b7a897f96 100644 --- a/src/usr/vfs/vfsrp.C +++ b/src/usr/vfs/vfsrp.C @@ -1,25 +1,26 @@ -// IBM_PROLOG_BEGIN_TAG -// This is an automatically generated prolog. -// -// $Source: src/usr/vfs/vfsrp.C $ -// -// IBM CONFIDENTIAL -// -// COPYRIGHT International Business Machines Corp. 2011 -// -// p1 -// -// Object Code Only (OCO) source materials -// Licensed Internal Code Source Materials -// IBM HostBoot Licensed Internal Code -// -// The source code for this program is not published or other- -// wise divested of its trade secrets, irrespective of what has -// been deposited with the U.S. Copyright Office. -// -// Origin: 30 -// -// IBM_PROLOG_END +/* IBM_PROLOG_BEGIN_TAG + * This is an automatically generated prolog. + * + * $Source: src/usr/vfs/vfsrp.C $ + * + * IBM CONFIDENTIAL + * + * COPYRIGHT International Business Machines Corp. 2011-2012 + * + * p1 + * + * Object Code Only (OCO) source materials + * Licensed Internal Code Source Materials + * IBM HostBoot Licensed Internal Code + * + * The source code for this program is not published or other- + * wise divested of its trade secrets, irrespective of what has + * been deposited with the U.S. Copyright Office. + * + * Origin: 30 + * + * IBM_PROLOG_END_TAG + */ /** * @file vfsrp.C * @brief Virtual File system Extended image support @@ -116,8 +117,8 @@ errlHndl_t VfsRp::_init() // Discover PNOR virtual address of extended image PNOR::SectionInfo_t l_pnor_info; - // How will SIDE eventually be determined? TODO - err = PNOR::getSectionInfo(PNOR::HB_EXT_CODE, PNOR::SIDE_A, l_pnor_info); + // Always use CURRENT_SIDE. PNOR RP will know if that is A or B. + err = PNOR::getSectionInfo(PNOR::HB_EXT_CODE, PNOR::CURRENT_SIDE, l_pnor_info); if(!err) { iv_pnor_vaddr = l_pnor_info.vaddr; |