diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2019-04-09 12:24:49 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-04-09 12:24:49 +0200 |
commit | 86762248de707c1d5bc59f7ddf73c47fef2e2999 (patch) | |
tree | 48811e5cfee861b1711b40e67b32b28ce85f2b71 /drivers/of | |
parent | 0272ec9ca9fe43a5d57a603093dc6787e6a3a7e4 (diff) | |
parent | 6daccb9de039ab8b2db41200d64b530d14e428a6 (diff) | |
download | barebox-86762248de707c1d5bc59f7ddf73c47fef2e2999.tar.gz barebox-86762248de707c1d5bc59f7ddf73c47fef2e2999.tar.xz |
Merge branch 'for-next/zynqmp'
Diffstat (limited to 'drivers/of')
-rw-r--r-- | drivers/of/base.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/of/base.c b/drivers/of/base.c index 318ba72cb0..838f530f85 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c @@ -1979,7 +1979,7 @@ const struct of_device_id of_default_bus_match_table[] = { int of_probe(void) { - struct device_node *memory; + struct device_node *memory, *firmware; if(!root_node) return -ENODEV; @@ -1996,6 +1996,10 @@ int of_probe(void) if (memory) of_add_memory(memory, false); + firmware = of_find_node_by_path("/firmware"); + if (firmware) + of_platform_populate(firmware, NULL, NULL); + of_clk_init(root_node, NULL); of_platform_populate(root_node, of_default_bus_match_table, NULL); |