Re: [U-Boot] [PATCH 2/4] dm: serial: Tidy up the pl01x driver

2015-04-21 Thread Linus Walleij
On Tue, Apr 21, 2015 at 1:56 PM, Linus Walleij wrote: > On Tue, Sep 23, 2014 at 1:30 AM, Simon Glass wrote: > >> Adjust the driver so that leaf functions take a pointer to the serial port >> register base. Put all the global configuration in the init function, and >> use the same settings from th

Re: [U-Boot] [PATCH 2/4] dm: serial: Tidy up the pl01x driver

2015-04-21 Thread Linus Walleij
On Tue, Sep 23, 2014 at 1:30 AM, Simon Glass wrote: > Adjust the driver so that leaf functions take a pointer to the serial port > register base. Put all the global configuration in the init function, and > use the same settings from then on. > > This makes it much easier to move to driver model

Re: [U-Boot] [PATCH 2/4] dm: serial: Tidy up the pl01x driver

2014-10-22 Thread Simon Glass
On 22 September 2014 17:30, Simon Glass wrote: > Adjust the driver so that leaf functions take a pointer to the serial port > register base. Put all the global configuration in the init function, and > use the same settings from then on. > > This makes it much easier to move to driver model withou

[U-Boot] [PATCH 2/4] dm: serial: Tidy up the pl01x driver

2014-09-22 Thread Simon Glass
Adjust the driver so that leaf functions take a pointer to the serial port register base. Put all the global configuration in the init function, and use the same settings from then on. This makes it much easier to move to driver model without duplicating the code, since with driver model we use pl