From patchwork Tue Sep 6 15:53:08 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 9317425 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 15D93607D3 for ; Tue, 6 Sep 2016 15:56:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0489828E12 for ; Tue, 6 Sep 2016 15:56:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ED74228E14; Tue, 6 Sep 2016 15:56:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7824F28E12 for ; Tue, 6 Sep 2016 15:56:16 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bhIhv-000523-0T; Tue, 06 Sep 2016 15:54:43 +0000 Received: from mail-cys01nam02on0081.outbound.protection.outlook.com ([104.47.37.81] helo=NAM02-CY1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bhIh7-0004b8-48 for linux-arm-kernel@lists.infradead.org; Tue, 06 Sep 2016 15:53:58 +0000 Received: from DM5PR03CA0008.namprd03.prod.outlook.com (10.175.104.18) by BLUPR0301MB2001.namprd03.prod.outlook.com (10.164.22.15) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.599.9; Tue, 6 Sep 2016 15:53:30 +0000 Received: from BY2FFO11FD020.protection.gbl (2a01:111:f400:7c0c::144) by DM5PR03CA0008.outlook.office365.com (2603:10b6:3:118::18) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.609.9 via Frontend Transport; Tue, 6 Sep 2016 15:53:30 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; nxp.com; dmarc=fail action=none header.from=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11FD020.mail.protection.outlook.com (10.1.14.137) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.587.6 via Frontend Transport; Tue, 6 Sep 2016 15:53:30 +0000 Received: from fabio-Latitude-E6410.am.freescale.net (fabio-Latitude-E6410.am.freescale.net [10.29.244.99]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id u86FrQ4T031722; Tue, 6 Sep 2016 08:53:28 -0700 From: Fabio Estevam To: Subject: [PATCH 2/9] ARM: dts: imx1: Fix memory node build warnings with W=1 Date: Tue, 6 Sep 2016 12:53:08 -0300 Message-ID: <1473177196-29371-2-git-send-email-fabio.estevam@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1473177196-29371-1-git-send-email-fabio.estevam@nxp.com> References: <1473177196-29371-1-git-send-email-fabio.estevam@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131176508102169718; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(8666005)(5660300001)(8936002)(92566002)(11100500001)(97736004)(586003)(50226002)(7846002)(229853001)(36756003)(305945005)(189998001)(356003)(106466001)(33646002)(626004)(104016004)(47776003)(2950100001)(2351001)(87936001)(2906002)(81166006)(77096005)(5003940100001)(110136002)(85426001)(50986999)(4326007)(105606002)(19580395003)(86362001)(8676002)(50466002)(76176999)(81156014)(19580405001)(48376002)(68736007)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0301MB2001; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD020; 1:2MZAD0h3Ojv/BcgS/GaeyRf4B+ySuLHrbzfETAnjhgXvaT6z5Vr5++7Zmr+t8WsvGygEuo7IMenhOSv1QepM3nKOrE2xJyrIgRIrV0OSgzChQ55EYqj9Yoltbebs2aM3UezhC9oFhQCIy2T2T6SIR5xFVfFy/lE1do1VSI2/KcMXsarA682pqzZwr+O8mQdnT15XVQaWr3Mo08wcxx4NOeaj/Rbt+CCHzNeNmbkGUQs8dkYTGgAvBSmn+lIrBSnhXF5WZEFJljmZkqrmMVvfjw9hhfC3Iebb3zWDlaeKsEpo3IEuxysboFGeaXbczAyrd/R4m5qWH0r56v2Yx34tV3Bupb1tQm4FvPucvj7csYo2SXeKblgjU5PTJUsFdm5u+Hq00xB3kvOPN5BNz1eGWNHeg3PRASzw+8cus53P+mMVT385q70IAp+5VdzhicGDukRBny/FPLX+k4jSbPAD9JiBz0mNTk2N0TLjzr+xiw50ZcItRgLt987yF89LDCz86RnwQsY9GJTTkVvpt4IzNo278GRA5ipcFmOohvPR+Ppx2zXG2oRMLketJON4mwIdvFKdxfuaLRb/XV95dB+Ljb55xQGzeBpASZKViLOT4YpQXMWrreEEclX3sEdgSkoDMVCRbfx+10etwMDqzjxdRAB5tgzKHbTV9V5Bwp46Zzf9X8iUPViaBSXc7kBI4l1bWob2oSO4I1a+TEoSlUlJ/QK2Hoi4mDgFU6eo5mGVeMk= MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: f523fdd9-6108-46c2-f315-08d3d66df2c2 X-Microsoft-Exchange-Diagnostics: 1; BLUPR0301MB2001; 2:e2BefaAjnXOX0mJhHGQ4z5sGHCFebHxiTnXeVayrl9/O3KY4SJRaGDPvBQltt/D1VaKSTiFklQTswPNOBzItdrGw01AoGcU2TjWLhDU9hhe1xjgM4coySxn7VjxYo4lBiG+x2Jq9oNfHvhRF/mSaIVWiX3TAJAt9HktO7trSKlltXHTceRqvtEBcSam7f71P; 3:X6DgA0T1wD1En6ALBZMozK+KrNnubYVSOsqWx3lunQO4+46jfompwhRFWNjz/Ex2PdtjTEnQeBxBiMvDSi9T9OVro2yeaU+so/7bdYbvIaMd7K5UP8eFZeam59nfiovdkryG2TbZsB4QEgpL1Kl4EAgEk0vlAYeRpZpdeQj3UguAwXT17rP8EfztGbROYZfQlWzN9WaoYM9EPrS0Ln4Oq7GYDTyTqErpVwDUAiOnT+M= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR0301MB2001; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0301MB2001; 25:Bg8GG/wiCS6Rly7wOgGdALX0xYmnA930SAA4DWKAiUrB4a9t/D/3AneK0uFqjhTLeMAx+7YFD1BxA8pWtcfEqqQwpLPzh/bYD483wewY5yIDGUQQjh2CSYQh3vgDZqd2y0WzsrdGgbyRQmSdd5gSAEYxfN9k5aSWADUoxQNI5QP7QUbqiLAd3J0MIsuvzrA9uTRlYFwhf+8ck9AnFCHhWv1+CC3w1oH5WwfGlhcTl97ySbZmcG14xhyZaPA2f/FsnBMNFgvfXE+Xf6WF/dW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/l/ZiEaA9bmuFLMw5w2ROLr6DLl1pQ6hGyGOI3piYXZtYlWX/bpA2CW3nYuaZ/XOAfO1kgiBKzFrT+/Z8JFwkDUuBca0yENPfioac/KnfpMRkQOZF/Zui1M0tEfNEMAOPGXSuqjI+IcA3UJdRJluQ1US9d9p4U1vIenpfqcHtK4T5fj131uc0vGM7Q5bT6V6Mj9ARz0vzwIQclUI1bwpF9Kso1RC+FCzw= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(13015025)(13017025)(13023025)(13024025)(13018025)(5005006)(8121501046)(3002001)(10201501046)(6055026); SRVR:BLUPR0301MB2001; BCL:0; PCL:0; RULEID:(400006); SRVR:BLUPR0301MB2001; X-Forefront-PRVS: 0057EE387C X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0301MB2001; 23:FH5hQqwfGHA7In5UPxcQbm9awr4eB2WLp3GgL83?= =?us-ascii?Q?Kj2e7PKqMeFvsUsHBXtH/A34+ytWuUIqdXz87t7MHyKyFnQpnE0dQNLSeADx?= =?us-ascii?Q?uNG64Rg8u8s95m6WZZQ8KnlU5ki+mihAfcyIWHy1bZgQZ7JnHPeqO/o1p3PH?= =?us-ascii?Q?FJbZTz4YOCbSG6Z7z3Spt72btcvJ1TO8hwiPW3himoQ0ptpC+bX2ASnRY/JP?= =?us-ascii?Q?R84Ckrhtos6uwnn5pnTr2lQnaUcvuEJXQPlvjvMPK2y9n94S0FQVkt3le7De?= =?us-ascii?Q?6YDgSEMB2RvbFmYG7AH3x0+KniP47ThetNMnaOz2Lotrka7jVhEMP5prFcXo?= =?us-ascii?Q?NP8gp1jSNgsEVcSyU69OnWxOpv/T1nXXjB7DKu2Ix5oR1nEldKZnl0fh7qkf?= =?us-ascii?Q?BsP+wfaRm5SM86eHsTQukhwaI8dM1N0DjMyA6PlUXhL6SPdGO557kREvI4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EaGFqnj/zqXhwDaVIgKCFImGj+tsMMF/1kfDqqfK79QYb3tiOYEPhA4N+xtORC10q1bYxUQVbhe/7Ur9TXb+zl7OSfIIHD179lejJ6u9zmsCU0T4jYyJ6ziKjLrL8IrFv5ICJJkvLVtQFU+6tR8DU6V4GbutUyy1y6x+M0kmQjc42G0LRdBHA=; 5:VfcIRA+zACzBINQRjM/ydt6EJuo6TfuZMpkHbYe+PzwwauE0D2w5ZDCLOxTaWBKimZ73gWJ1dmJfeDYR/yFdh1PEwigtB3DLSDJGwqySqUl5PSFLo4axvtbUAcUkprTIo5pjjK/rahqI47OEigbWoEXxxpPZDkXwaLrSDICOrYY=; 24:wDSeLVjNJA495u6ELd3fxVqnV49mONyUatotwbhdQ4jVJERAS1wOwHcgpc6sEKeudsvblDHV/MYXhzULeKDXgiwAEDqtmmX54itBarKTL+g=; 7:3d05wihQOXENiGLleOuK2e5SQUUf1BnW4Vw7thpKZCNNQj31gMsunwVLwebcAOJAIpsDyll/aCrlvemNGDhT5+W+dPB1rj+meU9DzcW3a/zC8MyXVQ9hHIsatmECiiKfDKSHERrFriNYbY0FaItDc/g9eF5UK7I83kQQ46SbrnMJbK5Djx1RhUY5s5r8q3P1mVQLk/7C+cIfuoveLqYBYk0cXmpv/iXC+N9xsotWj2jVk2O+CKlXmuoKkabK3np8 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2016 15:53:30.0141 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0301MB2001 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160906_085353_524771_E5D1B155 X-CRM114-Status: GOOD ( 12.12 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabio Estevam , robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Fix the following build warnings with W=1: Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name While at it, also pass the 'device_type' property as recommended by the ePAPR specification. Signed-off-by: Fabio Estevam --- arch/arm/boot/dts/imx1-ads.dts | 3 ++- arch/arm/boot/dts/imx1-apf9328.dts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/imx1-ads.dts b/arch/arm/boot/dts/imx1-ads.dts index f504986..3044b76 100644 --- a/arch/arm/boot/dts/imx1-ads.dts +++ b/arch/arm/boot/dts/imx1-ads.dts @@ -20,7 +20,8 @@ stdout-path = &uart1; }; - memory { + memory@8000000 { + device_type = "memory"; reg = <0x08000000 0x04000000>; }; diff --git a/arch/arm/boot/dts/imx1-apf9328.dts b/arch/arm/boot/dts/imx1-apf9328.dts index e8b4b52c..ee4b1b1 100644 --- a/arch/arm/boot/dts/imx1-apf9328.dts +++ b/arch/arm/boot/dts/imx1-apf9328.dts @@ -20,7 +20,8 @@ stdout-path = &uart1; }; - memory { + memory@8000000 { + device_type = "memory"; reg = <0x08000000 0x00800000>; }; };