Re: [U-Boot] [PATCH] ns16550: change reg-shift property default to zero

2015-11-30 Thread Simon Glass
On 29 November 2015 at 23:07, Mugunthan V N wrote: > On Sunday 29 November 2015 11:31 AM, Thomas Chou wrote: >> 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 x

Re: [U-Boot] [PATCH] ns16550: change reg-shift property default to zero

2015-11-29 Thread Mugunthan V N
On Sunday 29 November 2015 11:31 AM, Thomas Chou wrote: > 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 re

[U-Boot] [PATCH] ns16550: change reg-shift property default to zero

2015-11-28 Thread Thomas Chou
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: