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

2015-12-07 Thread Thomas Chou
Hi Stephen, On 2015年12月08日 01:32, Stephen Warren wrote: On 12/06/2015 03:07 PM, Tom Rini wrote: On Sun, Nov 29, 2015 at 02:01:03PM +0800, 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

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

2015-12-07 Thread Stephen Warren
On 12/06/2015 03:07 PM, Tom Rini wrote: On Sun, Nov 29, 2015 at 02:01:03PM +0800, 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. It's not generally true

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

2015-12-06 Thread Tom Rini
On Sun, Nov 29, 2015 at 02:01:03PM +0800, 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