device-tree: Install psu_init files as well
@@ -19,3 +19,12 @@ XSCTH_PROC_microblaze-plm ??= "psv_pmc_0"
# Enable @ flag on dtc which is required by libxil
DTC_FLAGS_append = " -@"
DT_INCLUDE_append = " ${WORKDIR}/git/device_tree/data/kernel_dtsi/2019.2/include/"
+
+
+do_install_append_cortexa53-zynqmp(){
+ install -d ${D}/var
+ install -m 0644 ${B}/${PN}/psu_init.c ${D}/boot/devicetree/psu_init.c
+ install -m 0644 ${B}/${PN}/psu_init.h ${D}/boot/devicetree/psu_init.h
+}
+
+FILES_${PN}-psu-init = "/boot/devicetree/psu_init.*"
