summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/icom.c
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2015-09-22 12:20:32 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-04 18:11:05 (GMT)
commitd215d80957ce98c318064c249ad0b7800c63a19d (patch)
treeda8d0de101959f318a438d9e4924c39b4c6ffbd0 /drivers/tty/serial/icom.c
parent616ea8d2d644b93ec634a3cb97e04f1ec3b0a491 (diff)
downloadlinux-d215d80957ce98c318064c249ad0b7800c63a19d.tar.xz
serial_core: support native endianness
There are three natural ways in which devices may be wired to the system: little endian (device receives correctly ordered bits of a word written by little-endian CPU to its register, but big-endian CPU needs to swap bytes of a word before writing it), big endian (same, but with big-endian CPU in more favourable position) and native endian (CPU of either endianness may do word-sized I/O without need for byteswapping). Adding an option for native endianness allows using single kernel command line for boards with native-endian serial ports on bi-endian architectures. This goes in parallel with 'native-endian' DTS attribute. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/icom.c')
0 files changed, 0 insertions, 0 deletions