diff options
author | Simon Glass <sjg@chromium.org> | 2014-07-23 12:55:20 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-07-23 13:08:37 (GMT) |
commit | e59f458de6999b8a786da857e653db6777f675ca (patch) | |
tree | 0e57f9b83b6a484fce0543562c7c313e66b89c75 /doc/mkimage.1 | |
parent | 997c87bb0b1981fd33e34cefc26d9138f27326ce (diff) | |
download | u-boot-e59f458de6999b8a786da857e653db6777f675ca.tar.xz |
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 'doc/mkimage.1')
0 files changed, 0 insertions, 0 deletions