summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2016-03-25 22:12:59 +1000
committerNathan Rossi <nathan@nathanrossi.com>2016-03-25 22:15:21 +1000
commit2081558f0be9cd20c64224eb1f329c7b89893e50 (patch)
tree74c12562b9728bfcda7be9d84f102353c7e2c1ac
parente569dd145ee9f11c7268ddc0acb11461475d7078 (diff)
downloadmeta-xilinx-2081558f0be9cd20c64224eb1f329c7b89893e50.tar.gz
machine-xilinx-default.inc: Handle 'u-boot-dtb.img' for Zynq
Handle the case where mainline u-boot does not default to having the target device tree embedded into the u-boot ELF via OF_EMBED, which is default for the u-boot-xlnx source tree. Select the UBOOT_BINARY value based on the currently configured virtual/bootloader provider. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
-rw-r--r--conf/machine/include/machine-xilinx-default.inc7
1 files changed, 6 insertions, 1 deletions
diff --git a/conf/machine/include/machine-xilinx-default.inc b/conf/machine/include/machine-xilinx-default.inc
index ec581c06..f8dc362a 100644
--- a/conf/machine/include/machine-xilinx-default.inc
+++ b/conf/machine/include/machine-xilinx-default.inc
@@ -22,7 +22,12 @@ PREFERRED_PROVIDER_virtual/bootloader ??= "${XILINX_DEFAULT_UBOOT}"
22 22
23UBOOT_SUFFIX ?= "img" 23UBOOT_SUFFIX ?= "img"
24UBOOT_SUFFIX_zynqmp ?= "bin" 24UBOOT_SUFFIX_zynqmp ?= "bin"
25UBOOT_BINARY ?= "u-boot.${UBOOT_SUFFIX}" 25
26# u-boot-xlnx setups up all zynq configs to have embedded device trees (OF_EMBED=y)
27UBOOT_OFEMBED ?= ""
28UBOOT_OFEMBED_zynq ?= "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/bootloader', 'u-boot-xlnx', '', '-dtb', d)}"
29
30UBOOT_BINARY ?= "u-boot${UBOOT_OFEMBED}.${UBOOT_SUFFIX}"
26UBOOT_ELF ?= "u-boot" 31UBOOT_ELF ?= "u-boot"
27UBOOT_ELF_aarch64 ?= "u-boot.elf" 32UBOOT_ELF_aarch64 ?= "u-boot.elf"
28 33