summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2015-11-26 19:10:58 +1000
committerNathan Rossi <nathan@nathanrossi.com>2015-11-26 19:10:58 +1000
commitd9d299cd58cdfe3d2c2eb6c643d74d6f511858ec (patch)
treed2c69431daf711508bac8e9e6559e8266a3701e5
parent4ab12ef6b4487172213412f674964f50b4c0a3d3 (diff)
downloadmeta-xilinx-d9d299cd58cdfe3d2c2eb6c643d74d6f511858ec.tar.gz
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 <nathan@nathanrossi.com>
-rw-r--r--recipes-bsp/u-boot/u-boot-xlnx-dev.bb9
1 files changed, 9 insertions, 0 deletions
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"
8 8
9include u-boot-xlnx.inc 9include u-boot-xlnx.inc
10include u-boot-extra.inc 10include u-boot-extra.inc
11include u-boot-spl-zynq-init.inc
11 12
12LIC_FILES_CHKSUM = "file://README;beginline=1;endline=6;md5=157ab8408beab40cd8ce1dc69f702a6c" 13LIC_FILES_CHKSUM = "file://README;beginline=1;endline=6;md5=157ab8408beab40cd8ce1dc69f702a6c"
13 14
@@ -16,6 +17,14 @@ SRCREV ?= "${@oe.utils.conditional("PREFERRED_PROVIDER_virtual/bootloader", "u-b
16 17
17PV = "${UBRANCH}${XILINX_EXTENSION}+git${SRCPV}" 18PV = "${UBRANCH}${XILINX_EXTENSION}+git${SRCPV}"
18 19
20# Newer versions of u-boot have support for these
21HAS_PS7INIT ?= " \
22 zynq_microzed_config \
23 zynq_zed_config \
24 zynq_zc702_config \
25 zynq_zc706_config \
26 "
27
19do_compile_append() { 28do_compile_append() {
20 # link u-boot-dtb.img to u-boot.img. 29 # link u-boot-dtb.img to u-boot.img.
21 if [ ! -e ${B}/u-boot-dtb.img ]; then 30 if [ ! -e ${B}/u-boot-dtb.img ]; then