summaryrefslogtreecommitdiffstats
path: root/src/usr/console
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2016-09-28 09:39:55 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-10-16 21:45:43 -0400
commit560a3667e8a581005586f9c731bfa5c1fe0e911d (patch)
tree7eb981aa83d018bcfb41d2122e32b19825b55673 /src/usr/console
parentaf6a053e12c60b67a951b578275ce2e0968de344 (diff)
downloadblackbird-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.C13
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;
+ };
}
OpenPOWER on IntegriCloud