]> git.sur5r.net Git - u-boot/commit
ns16550: change reg-shift property default to zero
authorThomas Chou <thomas@wytron.com.tw>
Sun, 29 Nov 2015 06:01:03 +0000 (14:01 +0800)
committerTom Rini <trini@konsulko.com>
Sat, 5 Dec 2015 23:22:29 +0000 (18:22 -0500)
commit80e061467008a7d6e8670c2630b5be6b428d00cb
tree8c818ecce48c28fd1c779ded66d4add481862f25
parenteada086f85a9bd3b8ac3a1db3d51b469869845c4
ns16550: change reg-shift property default to zero

Change reg-shift property default to zero. When the integer property
is missing, it should be taken as zero. This is consistent to Linux
drivers/tty/serial/of_serial.c.

The x86 and most powerpc use reg-shift of 0. Most others use reg-shift
of 2. While reg-shift of 1 is rarely used.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/serial/ns16550.c