Skip to contentSkip to conversation

Jacob Stiffler : linux: cmem: Update reserved CMEM regions

PATCH Arago Project git 1 participant 1 message Feb 1, 2016

lore
Share & tools
lore
#0 lore raw
Module: meta-ti
Branch: fido
Commit: 60f57fbf323127996735380c14d4b1bfa93eb986
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=60f57fbf323127996735380c14d4b1bfa93eb986
Author: Jacob Stiffler <[email protected]>
Date:   Fri Jan 29 03:20:50 2016 +0000

linux: cmem: Update reserved CMEM regions

* dra7xx:
- Increase DDR region required to pass OpenCL conformance
- Add OCMC region
* k2e-evm, k2l-evm:
- Add reserved regions for these machines

---

 recipes-kernel/linux/files/dra7xx/cmem.dtsi  |   20 ++++++++++--
 recipes-kernel/linux/files/k2e-evm/cmem.dtsi |   42 ++++++++++++++++++++++++++
 recipes-kernel/linux/files/k2l-evm/cmem.dtsi |   42 ++++++++++++++++++++++++++
 3 files changed, 101 insertions(+), 3 deletions(-)
recipes-kernel/linux/files/dra7xx/cmem.dtsi +17 -3
index d91faf9..c7781c4 100644
@@ -1,10 +1,20 @@
 / {
         reserved-memory {
+                #address-cells = <2>;
+                #size-cells = <2>;
+                ranges;
+
                 cmem_block_mem_0: cmem_block_mem@a0000000 {
-                        reg = <0x0 0xa0000000 0x0 0x0a000000>;
+                        reg = <0x0 0xa0000000 0x0 0x0c000000>;
                         no-map;
                         status = "okay";
                 };
+
+		cmem_block_mem_1_ocmc3: cmem_block_mem@40500000 {
+			reg = <0x0 0x40500000 0x0 0x100000>;
+			no-map;
+			status = "okay";
+		};
         };
 
         cmem {
@@ -19,8 +29,12 @@
                 cmem_block_0: cmem_block@0 {
                         reg = <0>;
                         memory-region = <&cmem_block_mem_0>;
-                        cmem-buf-pools = <1 0x0 0x0a000000>;
+                        cmem-buf-pools = <1 0x0 0x0c000000>;
                 };
-        };
 
+		cmem_block_1: cmem_block@1 {
+			reg = <1>;
+			memory-region = <&cmem_block_mem_1_ocmc3>;
+		};
+        };
 };
recipes-kernel/linux/files/k2e-evm/cmem.dtsi new file +42 -0

42 lines not on this page · raw message

recipes-kernel/linux/files/k2l-evm/cmem.dtsi new file +42 -0

42 lines not on this page · raw message