u-boot-brain/test/dm
Simon Glass 206d4d2b4b dm: core: Mark device as active before calling uclass probe() methods
The uclass pre-probe functions may end up calling back into the device in
some circumstances. This can fail if recursion takes place. Adjust the
ordering so that we mark the device as active early, then retract this
later if needed.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
2015-04-18 11:11:19 -06:00
..
.gitignore dm: Add basic tests 2014-03-04 12:15:29 -05:00
bus.c dm: test: bus: Use a local variable to simplify code 2015-04-18 11:11:19 -06:00
cmd_dm.c common: Make sure arch-specific map_sysmem() is defined 2015-04-18 11:11:09 -06:00
core.c dm: core: Add a uclass pre_probe() method for devices 2015-04-16 19:27:42 -06:00
eth.c net: Improve error handling 2015-04-18 11:11:14 -06:00
gpio.c dm: gpio: Add better functions to request GPIOs 2015-01-29 17:09:51 -07:00
i2c.c dm: i2c: Add a dm_ prefix to driver model bus speed functions 2015-02-12 10:35:33 -07:00
Kconfig dm: test: Add a Kconfig file 2015-02-12 10:35:34 -07:00
Makefile test: dm: eth: Add tests for the eth dm implementation 2015-04-18 11:11:12 -06:00
pci.c dm: pci: Add driver model tests for PCI 2015-04-18 11:11:09 -06:00
sf.c sandbox: Correct ordering of 'sb save' commands 2015-01-14 11:35:43 -05:00
spi.c dm: spi: Move slave details to child platdata 2015-01-29 17:09:56 -07:00
test-dm.sh dm: Don't run tests if U-Boot cannot be built 2015-01-29 17:09:54 -07:00
test-driver.c dm: Allow drivers to be marked 'before relocation' 2014-07-23 14:07:24 +01:00
test-fdt.c dm: core: Allow uclass to set up a device's child before it is probed 2015-01-29 17:09:56 -07:00
test-main.c test: dm: Support memory leak checking as a core feature 2014-10-23 19:29:53 -06:00
test-uclass.c dm: core: Mark device as active before calling uclass probe() methods 2015-04-18 11:11:19 -06:00
test.dts dm: eth: Add support for aliases 2015-04-18 11:11:13 -06:00
ut.c dm: Add basic tests 2014-03-04 12:15:29 -05:00