Ignore:
Timestamp:
2013-05-01T00:33:39Z (12 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9d504072
Parents:
b38c079
Message:

remove the amdm37x ad-hoc uart driver and make use of the generic omap uart.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/src/mach/beagleboardxm/beagleboardxm.c

    rb38c079 r7ca8422b  
    6161static struct beagleboard {
    6262        amdm37x_irc_regs_t *irc_addr;
    63         amdm37x_uart_t uart;
     63        omap_uart_t uart;
    6464        amdm37x_gpt_t timer;
    6565} beagleboard;
     
    168168{
    169169        /* UART3 is wired to external RS232 connector */
    170         const bool ok = amdm37x_uart_init(&beagleboard.uart,
     170        const bool ok = omap_uart_init(&beagleboard.uart,
    171171            AMDM37x_UART3_IRQ, AMDM37x_UART3_BASE_ADDRESS, AMDM37x_UART3_SIZE);
    172172        if (ok) {
     
    181181                indev_t *sink = stdin_wire();
    182182                indev_t *srln = srln_wire(srln_instance, sink);
    183                 amdm37x_uart_input_wire(&beagleboard.uart, srln);
     183                omap_uart_input_wire(&beagleboard.uart, srln);
    184184                amdm37x_irc_enable(beagleboard.irc_addr, AMDM37x_UART3_IRQ);
    185185        }
Note: See TracChangeset for help on using the changeset viewer.