diff options
| author | T Karthik Reddy <[email protected]> | 2020-08-14 03:02:15 -0600 |
|---|---|---|
| committer | Michal Simek <[email protected]> | 2020-09-23 10:31:40 +0200 |
| commit | 31a359f87eaa66caf44dd10f89885736186537dd (patch) | |
| tree | 1a7c4ddd66be745184045b2f57d86fe38eba119c /scripts/const_structs.checkpatch | |
| parent | 592ac773428a868a8ed4165f4b8a49afccea3919 (diff) | |
serial: uartlite: Add support to work with any endianness
This endinness changes are taken from linux uartlite driver.
Reset TX fifo in control register and check TX fifo empty
flag in lower byte of the status register to detect if it
is a little endian system. Based on this check, program the
registers with le32 or be32 through out the driver.
Signed-off-by: T Karthik Reddy <[email protected]>
Signed-off-by: Ashok Reddy Soma <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
