summaryrefslogtreecommitdiffstats
path: root/drivers/soc
diff options
context:
space:
mode:
authorSudeep Holla <Sudeep.Holla@arm.com>2017-09-28 11:45:59 +0100
committerAndy Gross <andy.gross@linaro.org>2018-01-04 14:00:20 -0600
commit3aa0582fdb824139630298880fbf78d4ac774d3c (patch)
tree1c79dddf40aa60313bb687e97449949c0f017c11 /drivers/soc
parentc01fc2275e01a91e2243d9202c04f3ed872f9de8 (diff)
downloadlinux-3aa0582fdb824139630298880fbf78d4ac774d3c.tar.gz
linux-3aa0582fdb824139630298880fbf78d4ac774d3c.tar.bz2
linux-3aa0582fdb824139630298880fbf78d4ac774d3c.zip
of: platform: populate /firmware/ node from of_platform_default_populate_init()
Since "/firmware" does not have its own "compatible" property as it's just collection of nodes representing firmware interface, it's sub-nodes are not populated during system initialization. Currently different firmware drivers search the /firmware/ node and populate the sub-node devices selectively. Instead we can populate the /firmware/ node during init to avoid more drivers continuing to populate the devices selectively. To generalize the solution this patch populates the /firmware/ node explicitly from of_platform_default_populate_init(). Cc: Arnd Bergmann <arnd@arndb.de> Cc: Rob Herring <robh@kernel.org> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> Acked-by: Rob Herring <robh@kernel.org> Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org> Tested-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Andy Gross <andy.gross@linaro.org>
Diffstat (limited to 'drivers/soc')
0 files changed, 0 insertions, 0 deletions