summaryrefslogtreecommitdiffstats
path: root/src/usr/console/uart.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/console/uart.C')
-rw-r--r--src/usr/console/uart.C9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/usr/console/uart.C b/src/usr/console/uart.C
index e282fd834..23c82c5b4 100644
--- a/src/usr/console/uart.C
+++ b/src/usr/console/uart.C
@@ -226,8 +226,15 @@ namespace CONSOLE
*/
UartInfo_t getUartInfo(void)
{
- //@TODO-RTC:161647-Fill in information for HDAT
UartInfo_t l_info;
+
+ l_info.lpcBaseAddr = g_uartBase;
+ l_info.lpcSize = sizeof(uint8_t);
+ l_info.clockFreqHz = g_uartClock;
+ l_info.freqHz = g_uartBaud;
+ l_info.interruptNum = SERIAL_IRQ;
+ l_info.interruptTrigger = LOW_LEVEL_TRIG;
+
return l_info;
};
}
OpenPOWER on IntegriCloud