On 25 January 2015 at 08:27, Simon Glass <s...@chromium.org> wrote: > For buses, after a child is bound, allow the uclass to perform some > processing. This can be used to figure out the address of the child (e.g. > the chip select for SPI slaves) so that it is ready to be probed. > > This avoids bus drivers having to repeat the same process, which really > should be done by the uclass, since it is common. > > Signed-off-by: Simon Glass <s...@chromium.org> > Reviewed-by: Masahiro Yamada <yamad...@jp.panasonic.com> > --- > > Changes in v3: > - Change variable name from parent_drv to uc_drv > > Changes in v2: None > > drivers/core/uclass.c | 21 ++++++++++++++++----- > include/dm/uclass.h | 2 ++ > test/dm/bus.c | 26 ++++++++++++++++++++++++++ > 3 files changed, 44 insertions(+), 5 deletions(-)
Applied to -u-boot-dm _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot