summaryrefslogtreecommitdiffstats
path: root/recipes-kernel
diff options
context:
space:
mode:
authorSam Nelson <sam.nelson@ti.com>2016-12-16 01:55:52 +0000
committerDenys Dmytriyenko <denys@ti.com>2016-12-16 12:43:32 -0500
commit20a8c89b2b2518cdde60c59cdf8b897004b29b93 (patch)
tree03870ce4b651c62f1df6d6b869fe6b36e6fb71f1 /recipes-kernel
parent47cc9a94258525f2a5bb1d4db3406d0d0d5a2f2a (diff)
downloadmeta-ti-20a8c89b2b2518cdde60c59cdf8b897004b29b93.tar.gz
recipes-kernel:cmem.dtsi:Keystone2: Update to remove redefinition of mpm areas
Cleaning up redefinition of mpm areas and moving to use what is defined in the base device tree files as is. This effectively changes to a new memory partition. Note that this change needs a corresponding change in the dts files in the kernel tree to adjust the mpm memory area to the new memory partition. The CMEM areas here are adjusted such that there is no overlap with the mpm areas defined in the dts files in the kernel tree. Also fixes issue with K2L, by removing overlapping memory area section. Signed-off-by: Sam Nelson <sam.nelson@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-kernel')
-rw-r--r--recipes-kernel/linux/files/k2e/cmem.dtsi13
-rw-r--r--recipes-kernel/linux/files/k2hk-evm/cmem.dtsi24
-rw-r--r--recipes-kernel/linux/files/k2l-evm/cmem.dtsi19
3 files changed, 9 insertions, 47 deletions
diff --git a/recipes-kernel/linux/files/k2e/cmem.dtsi b/recipes-kernel/linux/files/k2e/cmem.dtsi
index 2a2909a1..c233768d 100644
--- a/recipes-kernel/linux/files/k2e/cmem.dtsi
+++ b/recipes-kernel/linux/files/k2e/cmem.dtsi
@@ -1,7 +1,7 @@
1/ { 1/ {
2 reserved-memory { 2 reserved-memory {
3 cmem_block_mem_0: cmem_block_mem@829000000 { 3 cmem_block_mem_0: cmem_block_mem@830000000 {
4 reg = <0x00000008 0x22000000 0x00000000 0x1E000000>; 4 reg = <0x00000008 0x30000000 0x00000000 0x18000000>;
5 no-map; 5 no-map;
6 status = "okay"; 6 status = "okay";
7 }; 7 };
@@ -19,7 +19,7 @@
19 cmem_block_0: cmem_block@0 { 19 cmem_block_0: cmem_block@0 {
20 reg = <0>; 20 reg = <0>;
21 memory-region = <&cmem_block_mem_0>; 21 memory-region = <&cmem_block_mem_0>;
22 cmem-buf-pools = <1 0x00000000 0x1E000000>; 22 cmem-buf-pools = <1 0x00000000 0x18000000>;
23 }; 23 };
24 24
25 cmem_block_1: cmem_block@1 { 25 cmem_block_1: cmem_block@1 {
@@ -29,13 +29,6 @@
29 }; 29 };
30}; 30};
31 31
32&dsp_common_mpm_area {
33 reg = <0x00000008 0x20000000 0x00000000 0x02000000>;
34};
35&mpm_mem {
36 reg = <0xa0000000 0x02000000>;
37};
38
39&msm_ram { 32&msm_ram {
40 sram_cmem: sram-cmem@80000 { 33 sram_cmem: sram-cmem@80000 {
41 reg = <0x80000 0xc0000>; 34 reg = <0x80000 0xc0000>;
diff --git a/recipes-kernel/linux/files/k2hk-evm/cmem.dtsi b/recipes-kernel/linux/files/k2hk-evm/cmem.dtsi
index e5927bac..400aa9dd 100644
--- a/recipes-kernel/linux/files/k2hk-evm/cmem.dtsi
+++ b/recipes-kernel/linux/files/k2hk-evm/cmem.dtsi
@@ -1,14 +1,8 @@
1/ { 1/ {
2 reserved-memory { 2 reserved-memory {
3 3
4 cmem_block_mem_0: cmem_block_mem@829000000 { 4 cmem_block_mem_0: cmem_block_mem@830000000 {
5 reg = <0x00000008 0x29000000 0x00000000 0x17000000>; 5 reg = <0x00000008 0x30000000 0x00000000 0x18000000>;
6 no-map;
7 status = "okay";
8 };
9
10 cmem_block_mem_2: cmem_block_mem@822000000 {
11 reg = <0x00000008 0x22000000 0x00000000 0x07000000>;
12 no-map; 6 no-map;
13 status = "okay"; 7 status = "okay";
14 }; 8 };
@@ -26,28 +20,16 @@
26 cmem_block_0: cmem_block@0 { 20 cmem_block_0: cmem_block@0 {
27 reg = <0>; 21 reg = <0>;
28 memory-region = <&cmem_block_mem_0>; 22 memory-region = <&cmem_block_mem_0>;
29 cmem-buf-pools = <1 0x00000000 0x17000000>; 23 cmem-buf-pools = <1 0x00000000 0x18000000>;
30 }; 24 };
31 25
32 cmem_block_1: cmem_block@1 { 26 cmem_block_1: cmem_block@1 {
33 reg = <1>; 27 reg = <1>;
34 sram = <&sram_cmem>; 28 sram = <&sram_cmem>;
35 }; 29 };
36
37 cmem_block_2: cmem_block@2 {
38 reg = <2>;
39 memory-region = <&cmem_block_mem_2>;
40 };
41 }; 30 };
42}; 31};
43 32
44&dsp_common_mpm_area {
45 reg = <0x00000008 0x20000000 0x00000000 0x02000000>;
46};
47&mpm_mem {
48 reg = <0xa0000000 0x02000000>;
49};
50
51&msm_ram { 33&msm_ram {
52 sram_cmem: sram-cmem@100000 { 34 sram_cmem: sram-cmem@100000 {
53 reg = <0x100000 0x480000>; 35 reg = <0x100000 0x480000>;
diff --git a/recipes-kernel/linux/files/k2l-evm/cmem.dtsi b/recipes-kernel/linux/files/k2l-evm/cmem.dtsi
index 8b09642c..da389e5d 100644
--- a/recipes-kernel/linux/files/k2l-evm/cmem.dtsi
+++ b/recipes-kernel/linux/files/k2l-evm/cmem.dtsi
@@ -1,14 +1,8 @@
1/ { 1/ {
2 reserved-memory { 2 reserved-memory {
3 3
4 cmem_block_mem_0: cmem_block_mem@829000000 { 4 cmem_block_mem_0: cmem_block_mem@830000000 {
5 reg = <0x00000008 0x22000000 0x00000000 0x1E000000>; 5 reg = <0x00000008 0x30000000 0x00000000 0x18000000>;
6 no-map;
7 status = "okay";
8 };
9
10 cmem_block_mem_1: cmem_block_mem@00c080000 {
11 reg = <0x00000000 0x0c080000 0x00000000 0x000c0000>;
12 no-map; 6 no-map;
13 status = "okay"; 7 status = "okay";
14 }; 8 };
@@ -26,7 +20,7 @@
26 cmem_block_0: cmem_block@0 { 20 cmem_block_0: cmem_block@0 {
27 reg = <0>; 21 reg = <0>;
28 memory-region = <&cmem_block_mem_0>; 22 memory-region = <&cmem_block_mem_0>;
29 cmem-buf-pools = <1 0x00000000 0x1E000000>; 23 cmem-buf-pools = <1 0x00000000 0x18000000>;
30 }; 24 };
31 25
32 cmem_block_1: cmem_block@1 { 26 cmem_block_1: cmem_block@1 {
@@ -36,13 +30,6 @@
36 }; 30 };
37}; 31};
38 32
39&dsp_common_mpm_area {
40 reg = <0x00000008 0x20000000 0x00000000 0x02000000>;
41};
42&mpm_mem {
43 reg = <0xa0000000 0x02000000>;
44};
45
46&msm_ram { 33&msm_ram {
47 sram_cmem: sram-cmem@80000 { 34 sram_cmem: sram-cmem@80000 {
48 reg = <0x80000 0xc0000>; 35 reg = <0x80000 0xc0000>;