Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 83CD3E00DBC; Thu, 15 Dec 2016 11:56:02 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from fllnx210.ext.ti.com (fllnx210.ext.ti.com [198.47.19.17]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 3232AE00DB5 for ; Thu, 15 Dec 2016 11:55:59 -0800 (PST) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id uBFJtxVL011554 for ; Thu, 15 Dec 2016 13:55:59 -0600 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id uBFJtxh3013290 for ; Thu, 15 Dec 2016 13:55:59 -0600 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.294.0; Thu, 15 Dec 2016 13:55:58 -0600 Received: from uda0862859a.am.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id uBFJttZ6010022; Thu, 15 Dec 2016 13:55:58 -0600 From: Sam Nelson To: Date: Thu, 15 Dec 2016 14:55:53 -0500 Message-ID: <1481831753-60784-2-git-send-email-sam.nelson@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1481831753-60784-1-git-send-email-sam.nelson@ti.com> References: <1481831753-60784-1-git-send-email-sam.nelson@ti.com> MIME-Version: 1.0 Subject: [PATCH 2/2] recipes-kernel:cmem.dtsi:K2G: Update to remove redefinition of mpm areas X-BeenThere: meta-ti@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-ti layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Dec 2016 19:56:02 -0000 Content-Type: text/plain 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. Note also the address ranges are arranged differently for K2G compared to the other Keystone platforms. (This is to accomodate common memory map for multiple k2g platforms) Signed-off-by: Sam Nelson --- recipes-kernel/linux/files/k2g/cmem.dtsi | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/recipes-kernel/linux/files/k2g/cmem.dtsi b/recipes-kernel/linux/files/k2g/cmem.dtsi index 4716581..4c68d82 100644 --- a/recipes-kernel/linux/files/k2g/cmem.dtsi +++ b/recipes-kernel/linux/files/k2g/cmem.dtsi @@ -1,14 +1,8 @@ / { reserved-memory { - cmem_block_mem_0: cmem_block_mem@829000000 { - reg = <0x00000008 0x29000000 0x00000000 0x17000000>; - no-map; - status = "okay"; - }; - - cmem_block_mem_2: cmem_block_mem@822000000 { - reg = <0x00000008 0x22000000 0x00000000 0x07000000>; + cmem_block_mem_0: cmem_block_mem@818000000 { + reg = <0x00000008 0x18000000 0x00000000 0x5000000>; no-map; status = "okay"; }; @@ -26,28 +20,16 @@ cmem_block_0: cmem_block@0 { reg = <0>; memory-region = <&cmem_block_mem_0>; - cmem-buf-pools = <1 0x00000000 0x17000000>; + cmem-buf-pools = <1 0x00000000 0x5000000>; }; cmem_block_1: cmem_block@1 { reg = <1>; sram = <&sram_cmem>; }; - - cmem_block_2: cmem_block@2 { - reg = <2>; - memory-region = <&cmem_block_mem_2>; - }; }; }; -&dsp_common_mpm_area { - reg = <0x00000008 0x20000000 0x00000000 0x02000000>; -}; -&mpm_mem { - reg = <0xa0000000 0x02000000>; -}; - &msm_ram { sram_cmem: sram-cmem@a0000 { reg = <0xa0000 0x57000>; -- 1.9.1