From e77c5cb3af0b4fdf2696b801ddc5e16f42259442 Mon Sep 17 00:00:00 2001 From: Nathan Rossi Date: Thu, 31 Mar 2016 19:42:12 +1000 Subject: 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 --- ...zynq-Configure-picozed-to-use-custom-init.patch | 29 ++++++++++++++++++++++ recipes-bsp/u-boot/u-boot_2016.03.bbappend | 3 +++ 2 files changed, 32 insertions(+) create mode 100644 recipes-bsp/u-boot/u-boot/ARM-zynq-Configure-picozed-to-use-custom-init.patch 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 @@ +From f60d8854e743f0ec89c137f49686efaa600d75a3 Mon Sep 17 00:00:00 2001 +From: Nathan Rossi +Date: Thu, 31 Mar 2016 19:35:33 +1000 +Subject: [PATCH] ARM: zynq: Configure picozed to use custom init + +Setup the picozed target to use the ZYNQ_CUSTOM_INIT config option so +that the user can provide a ps7_init for the board. + +Signed-off-by: Nathan Rossi +Upstream-Status: Not Submitted +--- + arch/arm/mach-zynq/Kconfig | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/arch/arm/mach-zynq/Kconfig b/arch/arm/mach-zynq/Kconfig +index d396a13..3c6960e 100644 +--- a/arch/arm/mach-zynq/Kconfig ++++ b/arch/arm/mach-zynq/Kconfig +@@ -20,6 +20,7 @@ config TARGET_ZYNQ_MICROZED + + config TARGET_ZYNQ_PICOZED + bool "Zynq PicoZed" ++ select ZYNQ_CUSTOM_INIT + + config TARGET_ZYNQ_ZC702 + bool "Zynq ZC702 Board" +-- +2.7.0 + 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 @@ include u-boot-spl-zynq-init.inc +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" +SRC_URI_append_picozed-zynq7 = " file://ARM-zynq-Configure-picozed-to-use-custom-init.patch" + # u-boot 2016.03 has support for these HAS_PS7INIT ?= " \ zynq_microzed_config \ -- cgit v1.2.3-54-g00ecf