[meta-xilinx] [PATCH 4/6] linux-yocto_4.1: Fix up "amba" node label for Zynq include

Nathan Rossi nathan at nathanrossi.com
Wed May 11 07:22:06 PDT 2016


Partly backport a patch from v4.3+ kernels that adds the "amba" label to
the amba bus node of the zynq-7000.dtsi.

Signed-off-by: Nathan Rossi <nathan at nathanrossi.com>
---
 recipes-kernel/linux/linux-yocto_4.1.bbappend      |  5 ++++
 .../ARM-dts-zynq-Add-label-for-amba-node.patch     | 27 ++++++++++++++++++++++
 2 files changed, 32 insertions(+)
 create mode 100644 recipes-kernel/linux/linux/ARM-dts-zynq-Add-label-for-amba-node.patch

diff --git a/recipes-kernel/linux/linux-yocto_4.1.bbappend b/recipes-kernel/linux/linux-yocto_4.1.bbappend
index 651e0d7..02904d7 100644
--- a/recipes-kernel/linux/linux-yocto_4.1.bbappend
+++ b/recipes-kernel/linux/linux-yocto_4.1.bbappend
@@ -2,3 +2,8 @@
 require linux-xilinx-configs.inc
 require linux-xilinx-machines.inc
 
+FILESEXTRAPATHS_prepend := "${THISDIR}/linux:"
+SRC_URI_append = " \
+		file://ARM-dts-zynq-Add-label-for-amba-node.patch \
+		"
+
diff --git a/recipes-kernel/linux/linux/ARM-dts-zynq-Add-label-for-amba-node.patch b/recipes-kernel/linux/linux/ARM-dts-zynq-Add-label-for-amba-node.patch
new file mode 100644
index 0000000..6c8b8db
--- /dev/null
+++ b/recipes-kernel/linux/linux/ARM-dts-zynq-Add-label-for-amba-node.patch
@@ -0,0 +1,27 @@
+From d50be0b34c21d763d2fa17998e7f236f69c850bc Mon Sep 17 00:00:00 2001
+From: Nathan Rossi <nathan at nathanrossi.com>
+Date: Fri, 6 May 2016 23:09:53 +1000
+Subject: [PATCH] ARM: dts: zynq: Add label for amba node
+
+Signed-off-by: Nathan Rossi <nathan at nathanrossi.com>
+Upstream-Status: Backport [backport part of 6835fe484]
+---
+ arch/arm/boot/dts/zynq-7000.dtsi | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/arch/arm/boot/dts/zynq-7000.dtsi b/arch/arm/boot/dts/zynq-7000.dtsi
+index 9ea54b3..8a4af9c 100644
+--- a/arch/arm/boot/dts/zynq-7000.dtsi
++++ b/arch/arm/boot/dts/zynq-7000.dtsi
+@@ -57,7 +57,7 @@
+ 		regulator-always-on;
+ 	};
+ 
+-	amba {
++	amba: amba {
+ 		compatible = "simple-bus";
+ 		#address-cells = <1>;
+ 		#size-cells = <1>;
+-- 
+2.8.1
+
-- 
2.8.1




More information about the meta-xilinx mailing list