diff options
author | Jason M. Bills <jason.m.bills@linux.intel.com> | 2020-12-08 00:38:17 +0300 |
---|---|---|
committer | Jason M. Bills <jason.m.bills@linux.intel.com> | 2020-12-08 00:38:17 +0300 |
commit | 8d6ae7f2a817751fad151168fa10ce28ee0869d8 (patch) | |
tree | 281032f7ec07c41589aa094bd165cc2a98f2d3a7 /meta-xilinx/meta-xilinx-standalone/recipes-bsp/device-tree/device-tree.bbappend | |
parent | c16fb8893b19075db4bcf3b5bf33c1db8c3ca2bd (diff) | |
parent | 5da3c2284560a7e08ffafd03c5b5ba44a3242228 (diff) | |
download | openbmc-8d6ae7f2a817751fad151168fa10ce28ee0869d8.tar.xz |
Merge tag '0.26' of ssh://git-amr-1.devtools.intel.com:29418/openbmc-openbmc into update
Diffstat (limited to 'meta-xilinx/meta-xilinx-standalone/recipes-bsp/device-tree/device-tree.bbappend')
-rw-r--r-- | meta-xilinx/meta-xilinx-standalone/recipes-bsp/device-tree/device-tree.bbappend | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-xilinx/meta-xilinx-standalone/recipes-bsp/device-tree/device-tree.bbappend b/meta-xilinx/meta-xilinx-standalone/recipes-bsp/device-tree/device-tree.bbappend new file mode 100644 index 000000000..2cc088f27 --- /dev/null +++ b/meta-xilinx/meta-xilinx-standalone/recipes-bsp/device-tree/device-tree.bbappend @@ -0,0 +1,28 @@ +COMPATIBLE_HOST_xilinx-standalone = "${HOST_SYS}" + +COMPATIBLE_MACHINE_cortexa53-zynqmp = ".*" +COMPATIBLE_MACHINE_cortexr5-zynqmp = ".*" +COMPATIBLE_MACHINE_microblaze-pmu = ".*" +COMPATIBLE_MACHINE_microblaze-plm = ".*" +COMPATIBLE_MACHINE_cortexa72-versal = ".*" +COMPATIBLE_MACHINE_cortexr5-versal = ".*" +COMPATIBLE_MACHINE_cortexa9-zynq = ".*" + +XSCTH_PROC_cortexa53-zynqmp ??= "psu_cortexa53_0" +XSCTH_PROC_cortexr5-zynqmp ??= "psu_cortexr5_0" +XSCTH_PROC_microblaze-pmu ??= "psu_pmu_0" +XSCTH_PROC_cortexa72-versal ??= "psv_cortexa72_0" +XSCTH_PROC_microblaze-plm ??= "psv_pmc_0" +XSCTH_PROC_cortexr5-versal ??= "psv_cortexr5_0" +XSCTH_PROC_cortexa9-zynq ??= "ps7_cortexa9_0" + +# Enable @ flag on dtc which is required by libxil +DTC_FLAGS_append_xilinx-standalone = " -@" +DT_INCLUDE_append_xilinx-standalone = " ${WORKDIR}/git/device_tree/data/kernel_dtsi/${XILINX_RELEASE_VERSION}/include/" + + +do_install_append_zynqmp_xilinx-standalone() { + install -d ${D}${includedir}/devicetree + install -m 0644 ${B}/${PN}/psu_init.c ${D}/${includedir}/devicetree/psu_init.c + install -m 0644 ${B}/${PN}/psu_init.h ${D}/${includedir}/devicetree/psu_init.h +} |