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

Masahiro Yamada yamada.m at jp.panasonic.com
Mon Jan 26 02:57:06 CET 2015


On Sun, 25 Jan 2015 08:27:00 -0700
Simon Glass <sjg at 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 tree),
> since platform data exists at bind-time.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
> 
> Changes in v3:
> - Fix stale comment in device_probe_child()
> 
> Changes in v2: None



Reviewed-by: Masahiro Yamada <yamada.m at jp.panasonic.com>



More information about the U-Boot mailing list