diff options
author | Simon Glass <sjg@chromium.org> | 2015-01-25 08:27:00 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-01-29 17:09:54 -0700 |
commit | f8a85449ef3e0963add728815771ccc09aa99875 (patch) | |
tree | dff087eeb955e883a0e12f597acdc734961bdb4c /test/dm/test-uclass.c | |
parent | 72ebfe86fac2ca0a0e1af9fe1eaa3a634e3e17a1 (diff) | |
download | u-boot-imx-f8a85449ef3e0963add728815771ccc09aa99875.zip u-boot-imx-f8a85449ef3e0963add728815771ccc09aa99875.tar.gz u-boot-imx-f8a85449ef3e0963add728815771ccc09aa99875.tar.bz2 |
dm: core: Allocate platform data when binding a device
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@chromium.org>
Reviewed-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'test/dm/test-uclass.c')
0 files changed, 0 insertions, 0 deletions