blob: 2cc088f2731533857db18fe56239ef95828b1821 [file] [log] [blame]
Andrew Geissler84ad7c52020-06-27 00:00:16 -05001COMPATIBLE_HOST_xilinx-standalone = "${HOST_SYS}"
2
3COMPATIBLE_MACHINE_cortexa53-zynqmp = ".*"
4COMPATIBLE_MACHINE_cortexr5-zynqmp = ".*"
5COMPATIBLE_MACHINE_microblaze-pmu = ".*"
6COMPATIBLE_MACHINE_microblaze-plm = ".*"
7COMPATIBLE_MACHINE_cortexa72-versal = ".*"
8COMPATIBLE_MACHINE_cortexr5-versal = ".*"
9COMPATIBLE_MACHINE_cortexa9-zynq = ".*"
10
11XSCTH_PROC_cortexa53-zynqmp ??= "psu_cortexa53_0"
12XSCTH_PROC_cortexr5-zynqmp ??= "psu_cortexr5_0"
13XSCTH_PROC_microblaze-pmu ??= "psu_pmu_0"
14XSCTH_PROC_cortexa72-versal ??= "psv_cortexa72_0"
15XSCTH_PROC_microblaze-plm ??= "psv_pmc_0"
16XSCTH_PROC_cortexr5-versal ??= "psv_cortexr5_0"
17XSCTH_PROC_cortexa9-zynq ??= "ps7_cortexa9_0"
18
19# Enable @ flag on dtc which is required by libxil
20DTC_FLAGS_append_xilinx-standalone = " -@"
21DT_INCLUDE_append_xilinx-standalone = " ${WORKDIR}/git/device_tree/data/kernel_dtsi/${XILINX_RELEASE_VERSION}/include/"
22
23
24do_install_append_zynqmp_xilinx-standalone() {
25 install -d ${D}${includedir}/devicetree
26 install -m 0644 ${B}/${PN}/psu_init.c ${D}/${includedir}/devicetree/psu_init.c
27 install -m 0644 ${B}/${PN}/psu_init.h ${D}/${includedir}/devicetree/psu_init.h
28}