mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
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>
This commit is contained in:
@@ -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'
|
||||
|
Reference in New Issue
Block a user