summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2016-03-31 19:42:12 +1000
committerNathan Rossi <nathan@nathanrossi.com>2016-03-31 19:48:39 +1000
commite77c5cb3af0b4fdf2696b801ddc5e16f42259442 (patch)
tree38347aac9dc760d063dcd66ed40326868a66169a
parent5670b05d75c6aeb3f20ef4bb6321c6b0ec1265eb (diff)
downloadmeta-xilinx-e77c5cb3af0b4fdf2696b801ddc5e16f42259442.tar.gz
u-boot_2016.03: Configure picozed to use the custom ps7_init
Add a patch for u-boot so that the picozed target uses the ps7_init that is provided in the custom_hw_platform/ directory. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
-rw-r--r--recipes-bsp/u-boot/u-boot/ARM-zynq-Configure-picozed-to-use-custom-init.patch29
-rw-r--r--recipes-bsp/u-boot/u-boot_2016.03.bbappend3
2 files changed, 32 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot/ARM-zynq-Configure-picozed-to-use-custom-init.patch b/recipes-bsp/u-boot/u-boot/ARM-zynq-Configure-picozed-to-use-custom-init.patch
new file mode 100644
index 00000000..051d2fc5
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot/ARM-zynq-Configure-picozed-to-use-custom-init.patch
@@ -0,0 +1,29 @@
1From f60d8854e743f0ec89c137f49686efaa600d75a3 Mon Sep 17 00:00:00 2001
2From: Nathan Rossi <nathan@nathanrossi.com>
3Date: Thu, 31 Mar 2016 19:35:33 +1000
4Subject: [PATCH] ARM: zynq: Configure picozed to use custom init
5
6Setup the picozed target to use the ZYNQ_CUSTOM_INIT config option so
7that the user can provide a ps7_init for the board.
8
9Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
10Upstream-Status: Not Submitted
11---
12 arch/arm/mach-zynq/Kconfig | 1 +
13 1 file changed, 1 insertion(+)
14
15diff --git a/arch/arm/mach-zynq/Kconfig b/arch/arm/mach-zynq/Kconfig
16index d396a13..3c6960e 100644
17--- a/arch/arm/mach-zynq/Kconfig
18+++ b/arch/arm/mach-zynq/Kconfig
19@@ -20,6 +20,7 @@ config TARGET_ZYNQ_MICROZED
20
21 config TARGET_ZYNQ_PICOZED
22 bool "Zynq PicoZed"
23+ select ZYNQ_CUSTOM_INIT
24
25 config TARGET_ZYNQ_ZC702
26 bool "Zynq ZC702 Board"
27--
282.7.0
29
diff --git a/recipes-bsp/u-boot/u-boot_2016.03.bbappend b/recipes-bsp/u-boot/u-boot_2016.03.bbappend
index f42e4328..096f42e1 100644
--- a/recipes-bsp/u-boot/u-boot_2016.03.bbappend
+++ b/recipes-bsp/u-boot/u-boot_2016.03.bbappend
@@ -1,5 +1,8 @@
1include u-boot-spl-zynq-init.inc 1include u-boot-spl-zynq-init.inc
2 2
3FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
4SRC_URI_append_picozed-zynq7 = " file://ARM-zynq-Configure-picozed-to-use-custom-init.patch"
5
3# u-boot 2016.03 has support for these 6# u-boot 2016.03 has support for these
4HAS_PS7INIT ?= " \ 7HAS_PS7INIT ?= " \
5 zynq_microzed_config \ 8 zynq_microzed_config \