Received: by 10.223.176.46 with SMTP id f43csp745973wra; Wed, 24 Jan 2018 05:24:48 -0800 (PST) X-Google-Smtp-Source: AH8x2251ptbpog28TztA5db+BhrNodTdPdrQ/ciBOPM3S4Q1w++YJFNuviPliY3vx0JViBf6/TC4 X-Received: by 2002:a17:902:1c1:: with SMTP id b59-v6mr7854461plb.325.1516800288243; Wed, 24 Jan 2018 05:24:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516800288; cv=none; d=google.com; s=arc-20160816; b=IyVlXP7H95cm5gc19Mx5PHLo9mLGC9mL4rWQj6X+3ybNHQqWzvRj27JREJUorO17Tb I9zQ75CsgDIiWjIJdV2pxt1kjpfQKAuEVlUcNNudJVzUIjIfc1lZJvm/YLJHGbcgegrn Q3mAR2/DipTeP2UMErf+p4CNFehT9ilvTX4o93ua4EBUlrwPH/940rm4zJoFLAoy0Hyj /8iNjtdn54QczROZz6bQbyiwfd05wyp8oiYbJ/5oGJh48hX5+HSAJjP/KlfDhEusnXU2 wUf63K3SkWp+YtVI7JV0Cs4+j53/pMTea8L0vOfXQbH6ds67kANvZm7QR+h/jb4eB4br bW9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=ViYyPinq165TgcJIQOopXDusNmf5yFM6Gaw22rQCkzA=; b=So7AwVI84EXZ3esN5sggYzzDjGcPFg4KadZRU7Mabjo1p8Fj2ctmvN0P9lH/H6cxV/ 50SLNuAgLDpOkddGk4opLfvVnmgU58bCIOPTbvjuAiQOm6CfZ3XhfE93MWPRAWacDVJU 2Lu818PM30uqfDUM95nqwxzpdoDCV5auLNLV5HH3Ga1SqPEWHxBsIvcbvqjdljl3i/ex NriTpdXpAf3yr1uzXcti2mtmppFmrpuSyb+VxIslAJ8PFeIdIZSx/W9cHFJ0oZUG/pGj NOFO/ZhlMPjTVMQt9fwh7+C2b05YeCBG0cCxCw3eNPTujaG4ao/72mXxFUVLSEClaqz9 eOdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mqWHIIia; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 9-v6si207195plc.230.2018.01.24.05.24.34; Wed, 24 Jan 2018 05:24:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mqWHIIia; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933807AbeAXNXH (ORCPT + 99 others); Wed, 24 Jan 2018 08:23:07 -0500 Received: from mail-qt0-f193.google.com ([209.85.216.193]:34397 "EHLO mail-qt0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933615AbeAXNXF (ORCPT ); Wed, 24 Jan 2018 08:23:05 -0500 Received: by mail-qt0-f193.google.com with SMTP id a27so10213994qtd.1; Wed, 24 Jan 2018 05:23:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ViYyPinq165TgcJIQOopXDusNmf5yFM6Gaw22rQCkzA=; b=mqWHIIiaqJBUQb2qdVWIe4ny9OOoUI4y8LAR+Hg76lSht+32meSV/ZGSGd48Mfc9v7 RXDR1fAQ0Kmv9Tv6y7NRTWS4OmmnYEBv3Z3ahRGUbgch/GZ+UNNP6RPWKLuT7/jnJV0k UXCRiAuP+3e9oGWwWGRlaz0IdGJm+9kLimfpXok3M7XNfrkUim/RGbty6OQtcEOt82ln 7RzhbHAA8QWCKX8rSPZSUgDaKS/OJ9oxtKIQhk1UniSUMlquIZXjzbOvtBqMR2JJAb37 L+a7OhWPLyFt2UeSo6UC9alJhGORKVQpzj1f/NgLwapY1WMVsOZs+hpLhrZjn/bme4Xl viPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ViYyPinq165TgcJIQOopXDusNmf5yFM6Gaw22rQCkzA=; b=kfHzWJfrWq/FfNztWQ/rwEWEiZwho8RK2VLvWXuv3I9hVpcD1q1BnXWTlHyryOeAmb r9cRLQ7HkyUDTKOiCRFmeQWREL/99wz0AaboqaTHLWocHTCLaETKLiln7JctsIc4X4QW ATHkHFs1FBLwE//GoY/O9m4bv4vtWHJvVizT3G3h07FZ3TW2f2Asw50YAJy/ftuLD6F+ 4sa/WyNtGR/5IZz1MhXabICLeIgTcykNSJjHPeIwZIjOfjPmtu188pTWcKkWP2dfDvkd xfpTmXtqviTdR9CxztylT/J6c0g6C4MSQGOglLhyXNLuaLWoqdE6NrqwCHe3F8hfnBd4 jKbA== X-Gm-Message-State: AKwxytdopGviWoBc+qaK9BuphlutVO83LBmFUacqozgDwtlGdU6bhyv5 3xCumVINQXd5Zx5mib0eFqQ= X-Received: by 10.55.188.199 with SMTP id m190mr5408277qkf.92.1516800184636; Wed, 24 Jan 2018 05:23:04 -0800 (PST) Received: from localhost.localdomain ([2804:431:b705:afb5:8286:f2ff:fedf:678b]) by smtp.gmail.com with ESMTPSA id t56sm2087521qtt.4.2018.01.24.05.23.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 24 Jan 2018 05:23:03 -0800 (PST) From: Marco Franchi To: shawnguo@kernel.org, robh+dt@kernel.org Cc: LW@karo-electronics.de, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, festevam@gmail.com, marcofrk@gmail.com, Marco Franchi Subject: [PATCH v3 2/3] ARM: dts: imx: Remove empty memory size nodes Date: Wed, 24 Jan 2018 11:22:13 -0200 Message-Id: <1516800134-5018-2-git-send-email-marcofrk@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516800134-5018-1-git-send-email-marcofrk@gmail.com> References: <1516800134-5018-1-git-send-email-marcofrk@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove the empty reg property from the SoC dtsi files in order to avoid duplicate memory nodes when the correct size is passed in board dts files. Signed-off-by: Marco Franchi --- Change since v2: -none arch/arm/boot/dts/imx1.dtsi | 2 +- arch/arm/boot/dts/imx23.dtsi | 2 +- arch/arm/boot/dts/imx25.dtsi | 2 +- arch/arm/boot/dts/imx27.dtsi | 2 +- arch/arm/boot/dts/imx28.dtsi | 2 +- arch/arm/boot/dts/imx31.dtsi | 2 +- arch/arm/boot/dts/imx35.dtsi | 2 +- arch/arm/boot/dts/imx50.dtsi | 2 +- arch/arm/boot/dts/imx51.dtsi | 2 +- arch/arm/boot/dts/imx53.dtsi | 2 +- arch/arm/boot/dts/imx6qdl.dtsi | 2 +- arch/arm/boot/dts/imx6sl.dtsi | 2 +- arch/arm/boot/dts/imx6sx.dtsi | 2 +- arch/arm/boot/dts/imx6ul.dtsi | 2 +- arch/arm/boot/dts/imx7s.dtsi | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/arch/arm/boot/dts/imx1.dtsi b/arch/arm/boot/dts/imx1.dtsi index 20f6565..f7b9edf 100644 --- a/arch/arm/boot/dts/imx1.dtsi +++ b/arch/arm/boot/dts/imx1.dtsi @@ -25,7 +25,7 @@ * Also for U-Boot there must be a pre-existing /memory node. */ chosen {}; - memory { device_type = "memory"; reg = <0 0>; }; + memory { device_type = "memory"; }; aliases { gpio0 = &gpio1; diff --git a/arch/arm/boot/dts/imx23.dtsi b/arch/arm/boot/dts/imx23.dtsi index 10d57f9..0aa111e 100644 --- a/arch/arm/boot/dts/imx23.dtsi +++ b/arch/arm/boot/dts/imx23.dtsi @@ -23,7 +23,7 @@ * Also for U-Boot there must be a pre-existing /memory node. */ chosen {}; - memory { device_type = "memory"; reg = <0 0>; }; + memory { device_type = "memory"; }; aliases { gpio0 = &gpio0; diff --git a/arch/arm/boot/dts/imx25.dtsi b/arch/arm/boot/dts/imx25.dtsi index 9445f8e..9725705 100644 --- a/arch/arm/boot/dts/imx25.dtsi +++ b/arch/arm/boot/dts/imx25.dtsi @@ -22,7 +22,7 @@ * Also for U-Boot there must be a pre-existing /memory node. */ chosen {}; - memory { device_type = "memory"; reg = <0 0>; }; + memory { device_type = "memory"; }; aliases { ethernet0 = &fec; diff --git a/arch/arm/boot/dts/imx27.dtsi b/arch/arm/boot/dts/imx27.dtsi index 15d85f1..6585b00 100644 --- a/arch/arm/boot/dts/imx27.dtsi +++ b/arch/arm/boot/dts/imx27.dtsi @@ -26,7 +26,7 @@ * Also for U-Boot there must be a pre-existing /memory node. */ chosen {}; - memory { device_type = "memory"; reg = <0 0>; }; + memory { device_type = "memory"; }; aliases { ethernet0 = &fec; diff --git a/arch/arm/boot/dts/imx28.dtsi b/arch/arm/boot/dts/imx28.dtsi index e52e05c..42d9a89 100644 --- a/arch/arm/boot/dts/imx28.dtsi +++ b/arch/arm/boot/dts/imx28.dtsi @@ -24,7 +24,7 @@ * Also for U-Boot there must be a pre-existing /memory node. */ chosen {}; - memory { device_type = "memory"; reg = <0 0>; }; + memory { device_type = "memory"; }; aliases { ethernet0 = &mac0; diff --git a/arch/arm/boot/dts/imx31.dtsi b/arch/arm/boot/dts/imx31.dtsi index a720314..ebc3f2d 100644 --- a/arch/arm/boot/dts/imx31.dtsi +++ b/arch/arm/boot/dts/imx31.dtsi @@ -19,7 +19,7 @@ * Also for U-Boot there must be a pre-existing /memory node. */ chosen {}; - memory { device_type = "memory"; reg = <0 0>; }; + memory { device_type = "memory"; }; aliases { serial0 = &uart1; diff --git a/arch/arm/boot/dts/imx35.dtsi b/arch/arm/boot/dts/imx35.dtsi index e08c0c1..bf343195 100644 --- a/arch/arm/boot/dts/imx35.dtsi +++ b/arch/arm/boot/dts/imx35.dtsi @@ -20,7 +20,7 @@ * Also for U-Boot there must be a pre-existing /memory node. */ chosen {}; - memory { device_type = "memory"; reg = <0 0>; }; + memory { device_type = "memory"; }; aliases { ethernet0 = &fec; diff --git a/arch/arm/boot/dts/imx50.dtsi b/arch/arm/boot/dts/imx50.dtsi index 35955e6..7954e79 100644 --- a/arch/arm/boot/dts/imx50.dtsi +++ b/arch/arm/boot/dts/imx50.dtsi @@ -25,7 +25,7 @@ * Also for U-Boot there must be a pre-existing /memory node. */ chosen {}; - memory { device_type = "memory"; reg = <0 0>; }; + memory { device_type = "memory"; }; aliases { ethernet0 = &fec; diff --git a/arch/arm/boot/dts/imx51.dtsi b/arch/arm/boot/dts/imx51.dtsi index 00d30bd..5d390a6 100644 --- a/arch/arm/boot/dts/imx51.dtsi +++ b/arch/arm/boot/dts/imx51.dtsi @@ -26,7 +26,7 @@ * Also for U-Boot there must be a pre-existing /memory node. */ chosen {}; - memory { device_type = "memory"; reg = <0 0>; }; + memory { device_type = "memory"; }; aliases { ethernet0 = &fec; diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/boot/dts/imx53.dtsi index 1040251..7d647d0 100644 --- a/arch/arm/boot/dts/imx53.dtsi +++ b/arch/arm/boot/dts/imx53.dtsi @@ -26,7 +26,7 @@ * Also for U-Boot there must be a pre-existing /memory node. */ chosen {}; - memory { device_type = "memory"; reg = <0 0>; }; + memory { device_type = "memory"; }; aliases { ethernet0 = &fec; diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi index 59ff866..0c70ea8 100644 --- a/arch/arm/boot/dts/imx6qdl.dtsi +++ b/arch/arm/boot/dts/imx6qdl.dtsi @@ -23,7 +23,7 @@ * Also for U-Boot there must be a pre-existing /memory node. */ chosen {}; - memory { device_type = "memory"; reg = <0 0>; }; + memory { device_type = "memory"; }; aliases { ethernet0 = &fec; diff --git a/arch/arm/boot/dts/imx6sl.dtsi b/arch/arm/boot/dts/imx6sl.dtsi index ae8df3c..ab6a7e2 100644 --- a/arch/arm/boot/dts/imx6sl.dtsi +++ b/arch/arm/boot/dts/imx6sl.dtsi @@ -21,7 +21,7 @@ * Also for U-Boot there must be a pre-existing /memory node. */ chosen {}; - memory { device_type = "memory"; reg = <0 0>; }; + memory { device_type = "memory"; }; aliases { ethernet0 = &fec; diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi index fd78793..c486791 100644 --- a/arch/arm/boot/dts/imx6sx.dtsi +++ b/arch/arm/boot/dts/imx6sx.dtsi @@ -22,7 +22,7 @@ * Also for U-Boot there must be a pre-existing /memory node. */ chosen {}; - memory { device_type = "memory"; reg = <0 0>; }; + memory { device_type = "memory"; }; aliases { can0 = &flexcan1; diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi index 5d6c3ba..c6515a3 100644 --- a/arch/arm/boot/dts/imx6ul.dtsi +++ b/arch/arm/boot/dts/imx6ul.dtsi @@ -22,7 +22,7 @@ * Also for U-Boot there must be a pre-existing /memory node. */ chosen {}; - memory { device_type = "memory"; reg = <0 0>; }; + memory { device_type = "memory"; }; aliases { ethernet0 = &fec1; diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi index 9aa2bb9..ec6292c 100644 --- a/arch/arm/boot/dts/imx7s.dtsi +++ b/arch/arm/boot/dts/imx7s.dtsi @@ -58,7 +58,7 @@ * Also for U-Boot there must be a pre-existing /memory node. */ chosen {}; - memory { device_type = "memory"; reg = <0 0>; }; + memory { device_type = "memory"; }; aliases { gpio0 = &gpio1; -- 2.7.4