From: Thomas Haemmerle <[email protected]>

The zynqmp_firmware node has sub-nodes for the various APIs to expose
the platform management, as e.g. clock management. Therefore, the driver
must populate the subnodes to initialize these drivers.

Signed-off-by: Thomas Haemmerle <[email protected]>
Signed-off-by: Michael Tretter <[email protected]>
---
 arch/arm/mach-zynqmp/firmware-zynqmp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-zynqmp/firmware-zynqmp.c 
b/arch/arm/mach-zynqmp/firmware-zynqmp.c
index a3ee992832..d7e2a66d0f 100644
--- a/arch/arm/mach-zynqmp/firmware-zynqmp.c
+++ b/arch/arm/mach-zynqmp/firmware-zynqmp.c
@@ -577,6 +577,7 @@ static int zynqmp_firmware_probe(struct device_d *dev)
        dev_dbg(dev, "Trustzone version v%d.%d\n",
                        pm_tz_version >> 16, pm_tz_version & 0xFFFF);
 
+       of_platform_populate(dev->device_node, NULL, dev);
 out:
        if (ret)
                do_fw_call = do_fw_call_fail;
-- 
2.20.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to