Re: [U-Boot] [RFC PATCH 02/22] stdio: Pass device pointer to stdio methods

2014-06-01 Thread Marek Vasut
On Saturday, May 24, 2014 at 11:21:01 PM, Simon Glass wrote: > At present stdio device functions do not get any clue as to which stdio > device is being acted on. Some implementations go to great lengths to work > around this, such as defining a whole separate set of functions for each > possible d

[U-Boot] [RFC PATCH 02/22] stdio: Pass device pointer to stdio methods

2014-05-24 Thread Simon Glass
At present stdio device functions do not get any clue as to which stdio device is being acted on. Some implementations go to great lengths to work around this, such as defining a whole separate set of functions for each possible device. For driver model we need to associate a stdio_dev with a devi