u-boot/test/dm
Simon Glass 02c07b3741 dm: core: Add a uclass pre_probe() method for devices
Some uclasses want to set up a device before it is probed. Add a method
for this.

An example is with PCI, where a PCI uclass wants to set up its private
data for later use. This allows the device's uclass() method to make calls
whcih use that data (for example, read PCI memory regions from device
tree, set up bus numbers).

Signed-off-by: Simon Glass <sjg@chromium.org>
2015-04-16 19:27:42 -06:00
..
.gitignore dm: Add basic tests 2014-03-04 12:15:29 -05:00
bus.c dm: core: Allow uclass to set up a device's child before it is probed 2015-01-29 17:09:56 -07:00
cmd_dm.c dm_test: improve the appearance shown by "dm tree" command 2014-12-11 13:18:41 -07:00
core.c dm: core: Add a uclass pre_probe() method for devices 2015-04-16 19:27:42 -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 dm: i2c: Add tests for I2C 2014-12-11 13:18:43 -07: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: Add a uclass pre_probe() method for devices 2015-04-16 19:27:42 -06:00
test.dts dm: core: Add a flag to control sequence numbering 2015-01-29 17:09:55 -07:00
ut.c dm: Add basic tests 2014-03-04 12:15:29 -05:00