diff options
| author | Andres Lugo-Reyes <aalugore@us.ibm.com> | 2014-09-10 14:09:29 -0500 |
|---|---|---|
| committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-10-03 11:11:10 -0500 |
| commit | 6066a4b18b29baea4cdfa8cf68c7a207978c327c (patch) | |
| tree | 11855fb9636ed4a438939ae7b9bbdd6e259aa511 /src/include/usr/vpd | |
| parent | a5f37a7efcfc85f4c58d526ecc8f9028bc9f26bb (diff) | |
| download | blackbird-hostboot-6066a4b18b29baea4cdfa8cf68c7a207978c327c.tar.gz blackbird-hostboot-6066a4b18b29baea4cdfa8cf68c7a207978c327c.zip | |
fsipres.C now checks of mvpd/cvpd without creating error logs.
Change-Id: Ie2542e97f2bb7bf9ea9680b57e337cd10beda81b
RTC:113960
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/13286
Tested-by: Jenkins Server
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/vpd')
| -rw-r--r-- | src/include/usr/vpd/vpd_if.H | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/src/include/usr/vpd/vpd_if.H b/src/include/usr/vpd/vpd_if.H index 6e36eddbd..6c216edcf 100644 --- a/src/include/usr/vpd/vpd_if.H +++ b/src/include/usr/vpd/vpd_if.H @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2013,2014 */ +/* Contributors Listed Below - COPYRIGHT 2013,2014 */ +/* [+] International Business Machines Corp. */ +/* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ @@ -23,6 +25,7 @@ #if !defined(__VPD_IF_H) #define __VPD_IF_H + namespace VPD { /** @@ -31,5 +34,25 @@ namespace VPD * @return error handle if there was an error */ errlHndl_t vpd_load_rt_image(uint64_t & o_vpd_addr); -}; + + /** + * @brief this function checks to see if the given mvpd target + * is present + * + * @param[in] i_target - Target device to search for mvpd + * + * @return bool - true if mvpd is present, false if it is not. + */ + bool mvpdPresent ( TARGETING::Target * i_target ); + + /** + * @brief this function checks to see if the given cvpd target + * is present + * + * @param[in] i_target - Target device to search for cvpd + * + * @return bool - true if cvpd is present, false if it is not. + */ + bool cvpdPresent ( TARGETING::Target * i_target ); +}; //end vpd namespace #endif |

