From d9d299cd58cdfe3d2c2eb6c643d74d6f511858ec Mon Sep 17 00:00:00 2001 From: Nathan Rossi Date: Thu, 26 Nov 2015 19:10:58 +1000 Subject: u-boot-xlnx-dev: Setup SPL generation Setup u-boot-xlnx-dev to handle SPL generation, the current version of u-boot-xlnx-dev also provides platform init code for some Zynq boards setup this up so that external sources are not needed. Signed-off-by: Nathan Rossi --- recipes-bsp/u-boot/u-boot-xlnx-dev.bb | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/recipes-bsp/u-boot/u-boot-xlnx-dev.bb b/recipes-bsp/u-boot/u-boot-xlnx-dev.bb index 18319b1c..59dd5a3e 100644 --- a/recipes-bsp/u-boot/u-boot-xlnx-dev.bb +++ b/recipes-bsp/u-boot/u-boot-xlnx-dev.bb @@ -8,6 +8,7 @@ UBRANCH ?= "master" include u-boot-xlnx.inc include u-boot-extra.inc +include u-boot-spl-zynq-init.inc LIC_FILES_CHKSUM = "file://README;beginline=1;endline=6;md5=157ab8408beab40cd8ce1dc69f702a6c" @@ -16,6 +17,14 @@ SRCREV ?= "${@oe.utils.conditional("PREFERRED_PROVIDER_virtual/bootloader", "u-b PV = "${UBRANCH}${XILINX_EXTENSION}+git${SRCPV}" +# Newer versions of u-boot have support for these +HAS_PS7INIT ?= " \ + zynq_microzed_config \ + zynq_zed_config \ + zynq_zc702_config \ + zynq_zc706_config \ + " + do_compile_append() { # link u-boot-dtb.img to u-boot.img. if [ ! -e ${B}/u-boot-dtb.img ]; then -- cgit v1.2.3-54-g00ecf