Ignore:
Timestamp:
Dec 2, 2020, 7:20:36 PM (3 months ago)
Author:
Kinsey Moore <kinsey.moore@…>
Branches:
master
Children:
a92d4ae
Parents:
2b56f5a
git-author:
Kinsey Moore <kinsey.moore@…> (12/02/20 19:20:36)
git-committer:
Joel Sherrill <joel@…> (12/03/20 23:35:28)
Message:

zynq-uart: Fix set_attributes implementation

The zynq-uart set_attributes implementation was configured to always
return false which causes spconsole01 to fail. This restores the
disabled implementation which sets the baud rate registers
appropriately and allows spconsole01 to pass. This also expands the
set_attributes functionality to allow setting of the stop bits,
character width, and parity.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bsps/include/dev/serial/zynq-uart.h

    r2b56f5a r5686b44d  
    7979void zynq_uart_reset_tx_flush(zynq_uart_context *ctx);
    8080
     81int zynq_cal_baud_rate(
     82  uint32_t  baudrate,
     83  uint32_t* brgr,
     84  uint32_t* bauddiv,
     85  uint32_t  modereg
     86);
     87
    8188#ifdef __cplusplus
    8289}
Note: See TracChangeset for help on using the changeset viewer.