forked from Imagelibrary/rtems
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.
This is the serial controller portion of the libchip library. This directory contains the source code for reusable console driver support code. Each individual driver is configured using the console_tbl data structure. This structure is defined and explained in the console.h file. The reusable chip drivers do not directly access the serial controller. They access the registers on the controller via a set of up to four functions which are provided by the BSP. These functins set and get general registers and data buffers. Some chips can access the data buffers as general registers and thus the driver may not require those interface routines.