diff options
author | Simon Glass <sjg@chromium.org> | 2014-07-23 06:55:14 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-07-23 14:07:25 +0100 |
commit | f4cdead24a1a0c39c29c04e107c2f98ba61c5da8 (patch) | |
tree | cbabf26d3f1df2d80529543f5a4bcfeeef4a34f3 /doc/driver-model | |
parent | b7d665705ebb29f06616b7f365ab8732e9779bf6 (diff) | |
download | u-boot-imx-f4cdead24a1a0c39c29c04e107c2f98ba61c5da8.zip u-boot-imx-f4cdead24a1a0c39c29c04e107c2f98ba61c5da8.tar.gz u-boot-imx-f4cdead24a1a0c39c29c04e107c2f98ba61c5da8.tar.bz2 |
dm: Allow a device to be found by its FDT offset
Each device that was bound from a device tree has an node that caused it to
be bound. Add functions that find and return a device based on a device tree
offset.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc/driver-model')
-rw-r--r-- | doc/driver-model/README.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/driver-model/README.txt b/doc/driver-model/README.txt index 84d21cf..346cf08 100644 --- a/doc/driver-model/README.txt +++ b/doc/driver-model/README.txt @@ -95,12 +95,13 @@ are provided in test/dm. To run them, try: You should see something like this: <...U-Boot banner...> - Running 15 driver model tests + Running 16 driver model tests Test: dm_test_autobind Test: dm_test_autoprobe Test: dm_test_children Test: dm_test_fdt Device 'd-test': seq 3 is in use by 'b-test' + Test: dm_test_fdt_offset Test: dm_test_fdt_pre_reloc Test: dm_test_fdt_uclass_seq Device 'd-test': seq 3 is in use by 'b-test' |