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

Simon Glass sjg at chromium.org
Mon Jan 26 21:09:58 CET 2015


On 25 January 2015 at 18:57, Masahiro Yamada <yamada.m at jp.panasonic.com> wrote:
>
> 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>
>

Applied to -u-boot-dm


More information about the U-Boot mailing list