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/shared/dev/serial/zynq-uart-polled.c

    r2b56f5a r5686b44d  
    4141}
    4242
    43 static int zynq_cal_baud_rate(uint32_t  baudrate,
     43int zynq_cal_baud_rate(uint32_t  baudrate,
    4444                              uint32_t* brgr,
    4545                              uint32_t* bauddiv,
Note: See TracChangeset for help on using the changeset viewer.