Changeset f4009d8 in rtems


Ignore:
Timestamp:
Oct 12, 2017, 11:00:10 PM (23 months ago)
Author:
Pavel Pisa <ppisa@…>
Branches:
master
Children:
bf2a53d2
Parents:
6ba02954
git-author:
Pavel Pisa <ppisa@…> (10/12/17 23:00:10)
git-committer:
Pavel Pisa <pisa@…> (10/12/17 23:02:33)
Message:

bsp/tms570: remove duplicate of TMS570_SCI_FLR_TX_EMPTY in console driver.

Initial idea has been that check for both, TMS570_SCI_FLR_TX_EMPTY
and TMS570_SCI_FLR_TXRDY is required before console driver parameters
update.

closes #2883.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/tms570/console/tms570-sci.c

    r6ba02954 rf4009d8  
    252252  int32_t bauddiv;
    253253  int32_t baudrate;
    254   uint32_t flr_tx_ready = TMS570_SCI_FLR_TX_EMPTY | TMS570_SCI_FLR_TX_EMPTY;
     254  uint32_t flr_tx_ready = TMS570_SCI_FLR_TX_EMPTY;
     255  /*
     256   * Test for TMS570_SCI_FLR_TXRDY is not necessary
     257   * because both SCITD and SCITXSHF has to be empty
     258   * to TX_EMPTY be asserted. But there is no interrupt
     259   * option for TX_EMPTY. Polling is used isntead.
     260   */
    255261
    256262  /* Baud rate */
Note: See TracChangeset for help on using the changeset viewer.