diff options
| author | Dan Crowell <dcrowell@us.ibm.com> | 2016-09-28 09:39:55 -0500 |
|---|---|---|
| committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-10-16 21:45:43 -0400 |
| commit | 560a3667e8a581005586f9c731bfa5c1fe0e911d (patch) | |
| tree | 7eb981aa83d018bcfb41d2122e32b19825b55673 /src/usr/console | |
| parent | af6a053e12c60b67a951b578275ce2e0968de344 (diff) | |
| download | blackbird-hostboot-560a3667e8a581005586f9c731bfa5c1fe0e911d.tar.gz blackbird-hostboot-560a3667e8a581005586f9c731bfa5c1fe0e911d.zip | |
Add interfaces for HDAT to fetch new data
New interfaces added:
I2C::getDeviceInfo()
IPMI::getBmcInfo()
CONSOLE::getUartInfo()
New attributes:
SYSTEM_FAMILY
SYSTEM_TYPE
Change-Id: I7d1a018c01067a19b8a66f853e11922c910fcc54
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30405
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/console')
| -rw-r--r-- | src/usr/console/uart.C | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/usr/console/uart.C b/src/usr/console/uart.C index aa85df50b..e282fd834 100644 --- a/src/usr/console/uart.C +++ b/src/usr/console/uart.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2014,2015 */ +/* Contributors Listed Below - COPYRIGHT 2014,2016 */ /* [+] Google Inc. */ /* [+] International Business Machines Corp. */ /* */ @@ -32,6 +32,7 @@ #include <errl/errlmanager.H> #include <hwas/common/hwasCallout.H> #include <console/console_reasoncodes.H> +#include <console/uartif.H> namespace CONSOLE { @@ -219,4 +220,14 @@ namespace CONSOLE Uart* Uart::g_device = NULL; + /** + * Retrieve some information about the UART and the connection + * we have to it. + */ + UartInfo_t getUartInfo(void) + { + //@TODO-RTC:161647-Fill in information for HDAT + UartInfo_t l_info; + return l_info; + }; } |

