diff options
| author | Nathan Rossi <nathan@nathanrossi.com> | 2016-03-31 19:42:12 +1000 |
|---|---|---|
| committer | Nathan Rossi <nathan@nathanrossi.com> | 2016-03-31 19:48:39 +1000 |
| commit | e77c5cb3af0b4fdf2696b801ddc5e16f42259442 (patch) | |
| tree | 38347aac9dc760d063dcd66ed40326868a66169a | |
| parent | 5670b05d75c6aeb3f20ef4bb6321c6b0ec1265eb (diff) | |
| download | meta-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.patch | 29 | ||||
| -rw-r--r-- | recipes-bsp/u-boot/u-boot_2016.03.bbappend | 3 |
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 @@ | |||
| 1 | From f60d8854e743f0ec89c137f49686efaa600d75a3 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Nathan Rossi <nathan@nathanrossi.com> | ||
| 3 | Date: Thu, 31 Mar 2016 19:35:33 +1000 | ||
| 4 | Subject: [PATCH] ARM: zynq: Configure picozed to use custom init | ||
| 5 | |||
| 6 | Setup the picozed target to use the ZYNQ_CUSTOM_INIT config option so | ||
| 7 | that the user can provide a ps7_init for the board. | ||
| 8 | |||
| 9 | Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> | ||
| 10 | Upstream-Status: Not Submitted | ||
| 11 | --- | ||
| 12 | arch/arm/mach-zynq/Kconfig | 1 + | ||
| 13 | 1 file changed, 1 insertion(+) | ||
| 14 | |||
| 15 | diff --git a/arch/arm/mach-zynq/Kconfig b/arch/arm/mach-zynq/Kconfig | ||
| 16 | index 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 | -- | ||
| 28 | 2.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 @@ | |||
| 1 | include u-boot-spl-zynq-init.inc | 1 | include u-boot-spl-zynq-init.inc |
| 2 | 2 | ||
| 3 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
| 4 | SRC_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 |
| 4 | HAS_PS7INIT ?= " \ | 7 | HAS_PS7INIT ?= " \ |
| 5 | zynq_microzed_config \ | 8 | zynq_microzed_config \ |
