Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 95c9158 in mainline


Ignore:
Timestamp:
2012-03-31T18:09:24Z (8 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
master
Children:
81f70b4
Parents:
d01b9a1
Message:

amdm37x,uart: Use FIFO level status register instead of isr2.

Requires patch to work on linaro-qemu git, patch sent upstream.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/src/drivers/amdm37x_uart/amdm37x_uart.c

    rd01b9a1 r95c9158  
    7272{
    7373        amdm37x_uart_t *uart = irq->instance;
    74         while (!(uart->regs->isr2 & AMDM37x_UART_ISR2_RX_FIFO_EMPTY_FLAG)) {
     74        while ((uart->regs->rx_fifo_lvl)) {
    7575                const uint8_t val = uart->regs->rhr;
    7676                if (uart->indev && val) {
Note: See TracChangeset for help on using the changeset viewer.