diff options
author | Nathan Rossi <nathan@nathanrossi.com> | 2015-11-26 19:10:58 +1000 |
---|---|---|
committer | Nathan Rossi <nathan@nathanrossi.com> | 2015-11-26 19:10:58 +1000 |
commit | d9d299cd58cdfe3d2c2eb6c643d74d6f511858ec (patch) | |
tree | d2c69431daf711508bac8e9e6559e8266a3701e5 | |
parent | 4ab12ef6b4487172213412f674964f50b4c0a3d3 (diff) | |
download | meta-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.bb | 9 |
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 | ||
9 | include u-boot-xlnx.inc | 9 | include u-boot-xlnx.inc |
10 | include u-boot-extra.inc | 10 | include u-boot-extra.inc |
11 | include u-boot-spl-zynq-init.inc | ||
11 | 12 | ||
12 | LIC_FILES_CHKSUM = "file://README;beginline=1;endline=6;md5=157ab8408beab40cd8ce1dc69f702a6c" | 13 | LIC_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 | ||
17 | PV = "${UBRANCH}${XILINX_EXTENSION}+git${SRCPV}" | 18 | PV = "${UBRANCH}${XILINX_EXTENSION}+git${SRCPV}" |
18 | 19 | ||
20 | # Newer versions of u-boot have support for these | ||
21 | HAS_PS7INIT ?= " \ | ||
22 | zynq_microzed_config \ | ||
23 | zynq_zed_config \ | ||
24 | zynq_zc702_config \ | ||
25 | zynq_zc706_config \ | ||
26 | " | ||
27 | |||
19 | do_compile_append() { | 28 | do_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 |