Files
u-boot/test/dm
Patrick Delaunay 0544ecbfe9 dm: core: Move "/chosen" and "/firmware" node scan
Use the new function dm_scan_fdt_ofnode_path() to scan all the nodes
which aren't devices themselves but may contain some:
- "/chosen"
- "/clocks"
- "/firmware"

The patch removes the strcmp call in recursive function dm_scan_fdt_live()
and also corrects a conflict with the 2 applied patches in
the commit 1712ca2192 ("dm: core: Scan /firmware node by default")
and in the commit 747558d014 ("dm: fdt: scan for devices under
/firmware too"): the subnodes of "/firmware" (optee for example)
are bound 2 times.

For example the dm tree command result on STM32MP1 is:

STM32MP> dm tree
 Class     Index  Probed  Driver                Name
 -----------------------------------------------------------
 root          0  [ + ]   root_driver           root_driver
 firmware      0  [   ]   psci                  |-- psci
 sysreset      0  [   ]   psci-sysreset         |   `-- psci-sysreset
 simple_bus    0  [ + ]   generic_simple_bus    |-- soc
...
 tee           0  [ + ]   optee                 |-- optee
...
 tee           1  [   ]   optee                 `-- optee

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Tested-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2020-04-16 08:07:57 -06:00
..
2019-07-12 21:07:58 -04:00
2018-08-11 08:11:02 +02:00
2018-09-29 11:49:35 -06:00
2018-09-18 08:12:21 -06:00
2019-10-13 23:34:43 +02:00
2019-08-11 16:43:41 -04:00
2018-12-06 23:26:32 -05:00
2018-12-13 16:32:49 -07:00
2019-07-05 14:19:41 +02:00
2018-10-09 04:40:27 -06:00
2019-02-20 15:27:08 +08:00
2019-07-11 10:05:15 -04:00
2018-07-19 17:03:28 -04:00
2020-02-05 19:33:46 -07:00
2019-11-25 13:28:53 +01:00