summaryrefslogtreecommitdiffstats
path: root/recipes-bsp
diff options
context:
space:
mode:
authorNathan Rossi <nathan.rossi@xilinx.com>2015-03-03 14:49:34 +1000
committerNathan Rossi <nathan.rossi@xilinx.com>2015-03-31 15:56:48 +1000
commitbf00a88c23bb753f4bd59bc3d6888dfb66b02798 (patch)
tree81af5fbd50bee1b9c232fd0253e951d37bf1badb /recipes-bsp
parent16c27fcbd82d0bf84aeba7451bafa2db11f8cfe7 (diff)
downloadmeta-xilinx-bf00a88c23bb753f4bd59bc3d6888dfb66b02798.tar.gz
u-boot-xlnx: Use 'u-boot-dtb.img' for Zynq
* 'u-boot-dtb.img' is the name of the Payload that U-Boot SPL expects for Zynq * Prepare for compatibility for future versions where Zynq will use U-Boot DTBs Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
Diffstat (limited to 'recipes-bsp')
-rw-r--r--recipes-bsp/u-boot/u-boot-xlnx_2015.01.bb8
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot-xlnx_2015.01.bb b/recipes-bsp/u-boot/u-boot-xlnx_2015.01.bb
index adcb39d7..f9d7a7a5 100644
--- a/recipes-bsp/u-boot/u-boot-xlnx_2015.01.bb
+++ b/recipes-bsp/u-boot/u-boot-xlnx_2015.01.bb
@@ -13,3 +13,11 @@ UBOOT_ENV_zedboard-zynq7 = "uEnv"
13 13
14SRC_URI_append_zc702-zynq7 += "file://uEnv.txt" 14SRC_URI_append_zc702-zynq7 += "file://uEnv.txt"
15SRC_URI_append_zedboard-zynq7 += "file://uEnv.txt" 15SRC_URI_append_zedboard-zynq7 += "file://uEnv.txt"
16
17do_compile_append() {
18 # link u-boot-dtb.img to u-boot.img.
19 if [ ! -e ${B}/u-boot-dtb.img ]; then
20 ln -sf u-boot.img ${B}/u-boot-dtb.img
21 fi
22}
23