diff options
| author | Nathan Rossi <nathan.rossi@xilinx.com> | 2015-03-03 14:49:34 +1000 |
|---|---|---|
| committer | Nathan Rossi <nathan.rossi@xilinx.com> | 2015-03-31 15:56:48 +1000 |
| commit | bf00a88c23bb753f4bd59bc3d6888dfb66b02798 (patch) | |
| tree | 81af5fbd50bee1b9c232fd0253e951d37bf1badb /recipes-bsp | |
| parent | 16c27fcbd82d0bf84aeba7451bafa2db11f8cfe7 (diff) | |
| download | meta-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.bb | 8 |
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 | ||
| 14 | SRC_URI_append_zc702-zynq7 += "file://uEnv.txt" | 14 | SRC_URI_append_zc702-zynq7 += "file://uEnv.txt" |
| 15 | SRC_URI_append_zedboard-zynq7 += "file://uEnv.txt" | 15 | SRC_URI_append_zedboard-zynq7 += "file://uEnv.txt" |
| 16 | |||
| 17 | do_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 | |||
