summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Balister <philip@balister.org>2014-10-27 14:21:57 +1000
committerNathan Rossi <nathan.rossi@xilinx.com>2014-10-27 17:57:17 +1000
commitee9051f25a435125a6ec4e51b2a6a2db701268b1 (patch)
treeed058744e354058e7c3756e7f3ab410efe508a40
parent14a88e974ce149030046873250e45c274b26a0d8 (diff)
downloadmeta-xilinx-ee9051f25a435125a6ec4e51b2a6a2db701268b1.tar.gz
u-boot-xlnx.inc: Add support for building working SPL
You need to add the files ps7_init.[ch] via a board specific SRC_URI append. The ps7 files should be GPL licensed to avoid license headaches. Signed-off-by: Philip Balister <philip@balister.org> Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
-rw-r--r--recipes-bsp/u-boot/u-boot-xlnx.inc12
1 files changed, 11 insertions, 1 deletions
diff --git a/recipes-bsp/u-boot/u-boot-xlnx.inc b/recipes-bsp/u-boot/u-boot-xlnx.inc
index ee6b32c2..a2816439 100644
--- a/recipes-bsp/u-boot/u-boot-xlnx.inc
+++ b/recipes-bsp/u-boot/u-boot-xlnx.inc
@@ -4,7 +4,17 @@ LICENSE = "GPLv2+"
4 4
5XILINX_EXTENSION = "-xilinx" 5XILINX_EXTENSION = "-xilinx"
6 6
7FILESEXTRAPATHS += "${THISDIR}/u-boot-xlnx:"
8SRC_URI = "git://github.com/Xilinx/u-boot-xlnx.git;protocol=https" 7SRC_URI = "git://github.com/Xilinx/u-boot-xlnx.git;protocol=https"
9 8
9SPL_BINARY_zynq = "boot.bin"
10UBOOT_SUFFIX = "img"
11
12do_configure_prepend () {
13 if test -e ${WORKDIR}/ps7_init.h; then
14 cp ${WORKDIR}/ps7_init.h ${S}/board/xilinx/zynq/
15 cp ${WORKDIR}/ps7_init.c ${S}/board/xilinx/zynq/
16 fi
17}
18
10include u-boot-extra.inc 19include u-boot-extra.inc
20