summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/u-boot/u-boot-xlnx-dev.bb
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2015-11-26 20:03:39 +1000
committerNathan Rossi <nathan@nathanrossi.com>2015-11-26 20:03:39 +1000
commite95274e56ff441c1f4cf45ba791ab16166f05bf8 (patch)
treebdacd18e85f828746a4a0ae68a56136d0599aafa /recipes-bsp/u-boot/u-boot-xlnx-dev.bb
parentd9d299cd58cdfe3d2c2eb6c643d74d6f511858ec (diff)
downloadmeta-xilinx-e95274e56ff441c1f4cf45ba791ab16166f05bf8.tar.gz
Fix up UBOOT_BINARY for Zynq and setup SPL to load correctly
u-boot-xlnx 'xilinx-v2015.2' (fixed in newer versions) incorrectly sets the SPL image to load as 'u-boot-dtb.img' despite the images being built having embedded device trees (OF_EMBED=y). This change fixes this up so that there are no hacks to the u-boot recipes and no overrides to use the incorrectly named U-Boot image file. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Diffstat (limited to 'recipes-bsp/u-boot/u-boot-xlnx-dev.bb')
-rw-r--r--recipes-bsp/u-boot/u-boot-xlnx-dev.bb6
1 files changed, 0 insertions, 6 deletions
diff --git a/recipes-bsp/u-boot/u-boot-xlnx-dev.bb b/recipes-bsp/u-boot/u-boot-xlnx-dev.bb
index 59dd5a3e..9fa22fed 100644
--- a/recipes-bsp/u-boot/u-boot-xlnx-dev.bb
+++ b/recipes-bsp/u-boot/u-boot-xlnx-dev.bb
@@ -25,9 +25,3 @@ HAS_PS7INIT ?= " \
25 zynq_zc706_config \ 25 zynq_zc706_config \
26 " 26 "
27 27
28do_compile_append() {
29 # link u-boot-dtb.img to u-boot.img.
30 if [ ! -e ${B}/u-boot-dtb.img ]; then
31 ln -sf u-boot.img ${B}/u-boot-dtb.img
32 fi
33}