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

Changeset c0948aaa in mainline


Ignore:
Timestamp:
2013-02-14T21:21:44Z (9 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master
Children:
9c56996
Parents:
30c8723
Message:

Fix uart module initialization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/src/drivers/am335x/uart.c

    r30c8723 rc0948aaa  
    146146
    147147        /* Enable the UART module */
    148         uart->regs->mdr1 &= AM335x_UART_MDR_MS_UART16;
     148        uart->regs->mdr1 &= (AM335x_UART_MDR_MS_UART16 &
     149            ~AM335x_UART_MDR_MS_MASK);
    149150
    150151        /* Disable interrupts */
Note: See TracChangeset for help on using the changeset viewer.