[meta-ti] [rocko/master][PATCH] linux-ti-staging: Restore removed CMEM block in AM574x

Djordje Senicic x0157990 at ti.com
Tue Sep 4 11:48:50 PDT 2018


* Both CMEM blocks 0 and 1 are required for OpenVX.

Signed-off-by: Djordje Senicic <x0157990 at ti.com>
---
 recipes-kernel/linux/files/dra7xx/cmem-am574x.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/recipes-kernel/linux/files/dra7xx/cmem-am574x.dtsi b/recipes-kernel/linux/files/dra7xx/cmem-am574x.dtsi
index 9d207db..8fb3e87 100644
--- a/recipes-kernel/linux/files/dra7xx/cmem-am574x.dtsi
+++ b/recipes-kernel/linux/files/dra7xx/cmem-am574x.dtsi
@@ -9,6 +9,12 @@
                         no-map;
                         status = "okay";
                 };
+
+		cmem_block_mem_1_ocmc3: cmem_block_mem at 40500000 {
+			reg = <0x0 0x40500000 0x0 0x100000>;
+			no-map;
+			status = "okay";
+		};
         };
 
         cmem {
@@ -25,5 +31,10 @@
                         memory-region = <&cmem_block_mem_0>;
                         cmem-buf-pools = <1 0x0 0x18000000>;
                 };
+
+		cmem_block_1: cmem_block at 1 {
+			reg = <1>;
+			memory-region = <&cmem_block_mem_1_ocmc3>;
+		};
         };
 };
-- 
1.9.1



More information about the meta-ti mailing list