summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-07-23 06:55:14 -0600
committerSimon Glass <sjg@chromium.org>2014-07-23 14:07:25 +0100
commitf4cdead24a1a0c39c29c04e107c2f98ba61c5da8 (patch)
treecbabf26d3f1df2d80529543f5a4bcfeeef4a34f3 /doc
parentb7d665705ebb29f06616b7f365ab8732e9779bf6 (diff)
downloadtalos-obmc-uboot-f4cdead24a1a0c39c29c04e107c2f98ba61c5da8.tar.gz
talos-obmc-uboot-f4cdead24a1a0c39c29c04e107c2f98ba61c5da8.zip
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')
-rw-r--r--doc/driver-model/README.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/driver-model/README.txt b/doc/driver-model/README.txt
index 84d21cfb99..346cf08429 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'
OpenPOWER on IntegriCloud