summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-bsp/u-boot/u-boot-spl-zynq-init.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot-spl-zynq-init.inc b/recipes-bsp/u-boot/u-boot-spl-zynq-init.inc
index be92de5c..2123e271 100644
--- a/recipes-bsp/u-boot/u-boot-spl-zynq-init.inc
+++ b/recipes-bsp/u-boot/u-boot-spl-zynq-init.inc
@@ -45,5 +45,13 @@ python () {
45 d.appendVar("DEPENDS", " virtual/xilinx-platform-init") 45 d.appendVar("DEPENDS", " virtual/xilinx-platform-init")
46 # setup task to modify platform init after unpack and before configure 46 # setup task to modify platform init after unpack and before configure
47 bb.build.addtask("do_zynq_platform_init", "do_configure", "do_prepare_recipe_sysroot", d) 47 bb.build.addtask("do_zynq_platform_init", "do_configure", "do_prepare_recipe_sysroot", d)
48
49 if "boot.bin" in d.getVar("SPL_BINARY") and d.getVar("SOC_FAMILY") in ["zynqmp"]:
50 # depend on the pmu-firmware build
51 d.appendVar("DEPENDS", " virtual/pmu-firmware")
52 # determine the path relative to the source tree
53 relpath = os.path.relpath(d.expand("${DEPLOY_DIR_IMAGE}/pmu-${MACHINE}.bin"), d.getVar("S"))
54 # setup PMU Firmware path via MAKEFLAGS
55 d.appendVar("EXTRA_OEMAKE", " CONFIG_PMUFW_INIT_FILE=\"{0}\"".format(relpath))
48} 56}
49 57