2011-04-20 Rohan Kangralkar <rkangral@ece.neu.edu>

PR 1781/bsps
	* console/console-io.c: The UART RX and TX are different ISR
	now. So the array containing the registeration changes. The
	change is due to change in the libcup uart function.
This commit is contained in:
Joel Sherrill
2011-04-20 20:20:17 +00:00
parent ca11004d24
commit 5eb50f38e9
2 changed files with 26 additions and 14 deletions

View File

@@ -1,3 +1,10 @@
2011-04-20 Rohan Kangralkar <rkangral@ece.neu.edu>
PR 1781/bsps
* console/console-io.c: The UART RX and TX are different ISR
now. So the array containing the registeration changes. The
change is due to change in the libcup uart function.
2011-02-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* ChangeLog, start/start.S: Add HLT instruction on exit.

View File

@@ -26,16 +26,21 @@
*/
static bfin_uart_channel_t channels[] = {
{"/dev/console",
(char *) UART0_BASE_ADDRESS,
CONSOLE_USE_INTERRUPTS,
#ifdef CONSOLE_FORCE_BAUD
CONSOLE_FORCE_BAUD,
#else
0,
#endif
NULL,
0}
{"/dev/console",
UART0_BASE_ADDRESS,
0,
0,
CONSOLE_USE_INTERRUPTS,
0,
#ifdef CONSOLE_FORCE_BAUD
CONSOLE_FORCE_BAUD,
#else
0,
#endif
NULL,
0,
0}
};
#if (!BFIN_ON_SKYEYE)
,
@@ -56,10 +61,10 @@ static bfin_uart_config_t config = {
#if CONSOLE_USE_INTERRUPTS
static bfin_isr_t bfinUARTISRs[] = {
{SIC_DMA8_UART0_RX_VECTOR, bfin_uart_isr, 0, 0, NULL},
{SIC_DMA10_UART1_RX_VECTOR, bfin_uart_isr, 0, 0, NULL},
{SIC_DMA9_UART0_TX_VECTOR, bfin_uart_isr, 0, 0, NULL},
{SIC_DMA11_UART1_TX_VECTOR, bfin_uart_isr, 0, 0, NULL}
{SIC_DMA8_UART0_RX_VECTOR, bfinUart_rxIsr, 0, 0, NULL},
{SIC_DMA10_UART1_RX_VECTOR, bfinUart_rxIsr, 0, 0, NULL},
{SIC_DMA9_UART0_TX_VECTOR, bfinUart_txIsr, 0, 0, NULL},
{SIC_DMA11_UART1_TX_VECTOR, bfinUart_txIsr, 0, 0, NULL}
};
#endif