u-boot-brain/drivers/core
Simon Glass 20af3c0a00 dm: core: Call uclass post_bind() after the driver's bind() method
At present the uclass's post_bind() method is called before the driver's
bind() method. This means that the uclass cannot use any of the information
set up by the driver. Move it later in the sequence to permit this.

This is an ordering change which is always fairly major in nature. The main
impact is that devices which have children will not see them appear in their
bind() method. From what I can see, existing drivers do not look at their
children in the bind() method, so this should be safe.

Conceptually this change seems to result in a 'more correct' ordering, since
the uclass (which is broader than the device) gets the last word.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
2016-01-20 19:06:22 -07:00
..
device-remove.c Revert "dm: Export device_remove_children / device_unbind_children" 2015-11-19 20:27:51 -07:00
device.c dm: core: Call uclass post_bind() after the driver's bind() method 2016-01-20 19:06:22 -07:00
devres.c devres: add debug command to dump device resources 2015-08-06 07:44:29 -06:00
dump.c dm: Move the tree/uclass dump code into its own file 2015-07-21 17:39:22 -06:00
Kconfig spl: dm: Add SPL_DM_SEQ_ALIAS config option 2016-01-13 13:20:02 +01:00
lists.c of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
Makefile dm: core: Add SPL Kconfig for REGMAP and SYSCON 2015-12-01 08:07:22 -07:00
regmap.c dm: Add support for register maps (regmap) 2015-07-21 17:39:23 -06:00
root.c dm: core: Add option to configure an offset for the address translation 2016-01-12 10:19:09 -07:00
simple-bus.c dm: Support address translation for simple-bus 2015-08-06 07:44:28 -06:00
syscon-uclass.c dm: core: Add device checking to syscon_get_regmap() 2015-07-21 17:39:33 -06:00
uclass.c dm: core: Call uclass post_bind() after the driver's bind() method 2016-01-20 19:06:22 -07:00
util.c dm: Add base driver model support 2014-03-04 12:15:29 -05:00