Re: [PATCH] serial: uartlite: Add support to work with any endianness

2020-09-14 Thread Michal Simek
Hi, čt 27. 8. 2020 v 14:10 odesílatel Michal Simek napsal: > > From: T Karthik Reddy > > 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 syste

[PATCH] serial: uartlite: Add support to work with any endianness

2020-08-27 Thread Michal Simek
From: T Karthik Reddy 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 ou