diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2014-01-19 22:06:28 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-02-11 15:30:46 -0600 |
commit | b7733595ec491960fa6c97f5ad1fb2c47ac5592c (patch) | |
tree | f4a169250428db5411fb42e2f9d7a5f3dd96b927 /src/include/usr/devtree/devtreeif.H | |
parent | 18bdf83d7705bd3c519b195ce095e39181214435 (diff) | |
download | blackbird-hostboot-b7733595ec491960fa6c97f5ad1fb2c47ac5592c.tar.gz blackbird-hostboot-b7733595ec491960fa6c97f5ad1fb2c47ac5592c.zip |
HBRT: Build small devtree for HDAT-based Sapphire.
Change-Id: I06fb4c6d07a82146b19a38457d2114569c53a571
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/8147
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/include/usr/devtree/devtreeif.H')
-rw-r--r-- | src/include/usr/devtree/devtreeif.H | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/include/usr/devtree/devtreeif.H b/src/include/usr/devtree/devtreeif.H index e6c068e88..2fbcb885d 100644 --- a/src/include/usr/devtree/devtreeif.H +++ b/src/include/usr/devtree/devtreeif.H @@ -5,7 +5,7 @@ /* */ /* IBM CONFIDENTIAL */ /* */ -/* COPYRIGHT International Business Machines Corp. 2012,2013 */ +/* COPYRIGHT International Business Machines Corp. 2012,2014 */ /* */ /* p1 */ /* */ @@ -32,9 +32,16 @@ namespace DEVTREE /** * @brief Build flattened dev tree for Sapphire * + * @param[in] i_dtAddr - Address to load devtree. 0 will use a default + * data area appropriate for non-HDAT Sapphire. + * @param[in] i_dtSize - Allowable size for the devtree. + * @param[in] i_smallTree - Build a small devtree appropriate for inside + * the HDAT area. + * * @return errlHndl_t NULL on success */ - errlHndl_t build_flatdevtree( void ); + errlHndl_t build_flatdevtree( uint64_t i_dtAddr = 0, size_t i_dtSize = 0, + bool i_smallTree = false); /** * @brief Get the address of the flattened dev tree for Sapphire |