[Bootloader]
- instantiate uart_ifs in board git-svn-id: http://moon:8086/svn/mips@192 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
@@ -10,7 +10,14 @@
|
||||
#include "../../../libsys/irq.h"
|
||||
#include "../../../libsys/uart.h"
|
||||
|
||||
extern uart_if_t uart_if[];
|
||||
// ---------------------------------------------------------------------------------
|
||||
// Uart
|
||||
// ---------------------------------------------------------------------------------
|
||||
const uart_if_t uart_if[] =
|
||||
{
|
||||
{(uint32_t*)SYS_UART0_STAT, (uint32_t*)SYS_UART0_DATA, (uint32_t*)SYS_UART0_BAUD},
|
||||
{(uint32_t*)SYS_UART1_STAT, (uint32_t*)SYS_UART1_DATA, (uint32_t*)SYS_UART1_BAUD}
|
||||
};
|
||||
|
||||
void _dbg_writechar(uart_if_t const *pUart, char c)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user