]> git.baikalelectronics.ru Git - uboot.git/commit
dm: core: Scan "/firmware" node by default
authorRajan Vaja <rajan.vaja@xilinx.com>
Fri, 10 Aug 2018 08:45:34 +0000 (01:45 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 18 Sep 2018 14:12:21 +0000 (08:12 -0600)
commitac8e28f1e0d2459e9d629ff2850058791813ac90
tree341bb2a4a7345652fd5536f89bd0dc252ca8e6b8
parent1f3ade14f13a03011ccd70bf36f70a87483ebd46
dm: core: Scan "/firmware" node by default

All Linux firmware drivers are put under "/firmware" node
and it has support to populate "/firmware" node by default.

u-boot and Linux can share same DTB. In this case, driver
probe for devices under "/firmware" will not be invoked
as "/firmware" does not have its own "compatible" property.

This patch scans "/firmware" node by default like "/clocks".

Signed-off-by: Rajan Vaja <rajan.vaja@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/core/root.c