Ignore:
Timestamp:
2012-03-11T03:54:57Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
60a025d
Parents:
13be128d
Message:

amdm37x_uar: Implement simple receive functions.

Disable port setup for now (defaults work nice on qemu)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/include/drivers/amdm37x_uart/amdm37x_uart.h

    r13be128d rc91fe327  
    3939#include <typedefs.h>
    4040#include <console/chardev.h>
     41#include <ddi/irq.h>
    4142
    4243/* AMDM37x TRM p. 2950 */
     
    431432        /** RX/TX empty status */
    432433        ioport32_t isr2;
    433 #define AMDM37x_UART_IER2_RX_FIFO_EMPTY_FLAG  (1 << 0)
    434 #define AMDM37x_UART_IER2_TX_FIFO_EMPTY_FLAG  (1 << 1)
     434#define AMDM37x_UART_ISR2_RX_FIFO_EMPTY_FLAG  (1 << 0)
     435#define AMDM37x_UART_ISR2_TX_FIFO_EMPTY_FLAG  (1 << 1)
    435436
    436437        uint32_t padd2_[3];
     
    445446        indev_t *indev;
    446447        outdev_t outdev;
     448        irq_t irq;
    447449} amdm37x_uart_t;
    448450
Note: See TracChangeset for help on using the changeset viewer.