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> 2011-02-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* ChangeLog, start/start.S: Add HLT instruction on exit. * ChangeLog, start/start.S: Add HLT instruction on exit.

View File

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