diff options
author | Simon Glass <sjg@chromium.org> | 2014-07-23 06:55:20 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-07-23 14:08:37 +0100 |
commit | e59f458de6999b8a786da857e653db6777f675ca (patch) | |
tree | 0e57f9b83b6a484fce0543562c7c313e66b89c75 /tools | |
parent | 997c87bb0b1981fd33e34cefc26d9138f27326ce (diff) | |
download | u-boot-imx-e59f458de6999b8a786da857e653db6777f675ca.zip u-boot-imx-e59f458de6999b8a786da857e653db6777f675ca.tar.gz u-boot-imx-e59f458de6999b8a786da857e653db6777f675ca.tar.bz2 |
dm: Introduce per-child data for devices
Some device types can have child devices and want to store information
about them. For example a USB flash stick attached to a USB host
controller would likely use this space. The controller can hold
information about the USB state of each of its children.
The data is stored attached to the child device in the 'parent_priv'
member. It can be auto-allocated by dm when the child is probed. To
do this, add a per_child_auto_alloc_size value to the parent driver.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions