Re: [U-Boot] [PATCH v3 06/26] dm: core: Allocate platform data when binding a device

2015-01-26 Thread Simon Glass
On 25 January 2015 at 18:57, Masahiro Yamada yamad...@jp.panasonic.com wrote: On Sun, 25 Jan 2015 08:27:00 -0700 Simon Glass s...@chromium.org wrote: When using allocated platform data, allocate it when we bind the device. This makes it possible to fill in this information before the device

[U-Boot] [PATCH v3 06/26] dm: core: Allocate platform data when binding a device

2015-01-25 Thread Simon Glass
When using allocated platform data, allocate it when we bind the device. This makes it possible to fill in this information before the device is probed. This fits with the platform data model (when not using device tree), since platform data exists at bind-time. Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH v3 06/26] dm: core: Allocate platform data when binding a device

2015-01-25 Thread Masahiro Yamada
On Sun, 25 Jan 2015 08:27:00 -0700 Simon Glass s...@chromium.org wrote: When using allocated platform data, allocate it when we bind the device. This makes it possible to fill in this information before the device is probed. This fits with the platform data model (when not using device