Received: by 2002:a17:90a:88:0:0:0:0 with SMTP id a8csp4598509pja; Thu, 21 Nov 2019 22:34:43 -0800 (PST) X-Google-Smtp-Source: APXvYqxA48hL8j+HmyCeaOFY2wcQ9Hm9gSFe6ftvfs5UX4FYL9KRvjYjqpypevc1hP4uBjPoAx6k X-Received: by 2002:a1c:2b82:: with SMTP id r124mr14802916wmr.112.1574404483097; Thu, 21 Nov 2019 22:34:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574404483; cv=none; d=google.com; s=arc-20160816; b=bVnyFbCTCRa7wGrO2Pi0tYzGJg3A+Fmd9wHubhZRK4lMwfFAnF+27jHO9qIgfisCqm tWU9KWVogVes8onom6Ptgk07UCuegZ9yHRa/SpoUXJCn2G1c/Wj9PlZ2kK43ymEpI/XE KItKjiyp8Ujys9EN5Uet0A8OKYcxjES3seBIN19QKG5HVDwg3AKEomf4L1TXnyy40Uyy QiAiia7BUopyuX0CkQlXuQX/h54ci9ENS9PKKS87BI5gE3yfbbbrwU+Bhb7qdp6zVdrR QsIOyRQdD81X/TQmm5H1HdaHCIRIt/sp1DXFGMs9DnDNbJcgtmSnAkR+olwo0qV+iAPM Hz/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=rJoDcOccrgptb4WYXaO8XMcjEk2kqeArmtxip3tBtHo=; b=F5kp1vMMgtVmc2q2f+zyV+hkbHZjUIV4MbnvEG6rBpWGNP/ROJtVkpqDkYKkx1kZqC CEX3aJAPRMBYUcOgJi4iLld4hJLYGdA4Cl86cAyjEdtwuEWoq3x/XcYPve5/Vo0DBf+b Q2Tba256gxm2TUG/5ZwW4JSIHVduXjWBbC1AOehs9+npli0vXQsqWAHjRtCzYxJR93G8 +Vgi8xEUJd6cNGiLNTaKbAStVmPeUejTWx10ricjEgsvhw5N8l38NF6UKnBvQ7g9PWRK fjSRAzpIiiRpEI8WTVK1vJ7ee/pQJBkm2ZinDbJsgSDOTYwyyD8Fd59x8ed181+uNg5N FKoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Jfbo4vuL; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l64si4370366edl.306.2019.11.21.22.34.18; Thu, 21 Nov 2019 22:34:43 -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=@kernel.org header.s=default header.b=Jfbo4vuL; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726977AbfKVFt1 (ORCPT + 99 others); Fri, 22 Nov 2019 00:49:27 -0500 Received: from mail.kernel.org ([198.145.29.99]:53456 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726937AbfKVFtZ (ORCPT ); Fri, 22 Nov 2019 00:49:25 -0500 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D6EA42070B; Fri, 22 Nov 2019 05:49:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574401764; bh=32RnjBQhpMMpcnJsfK6ZgNHLIRuZH059M6OSVlzGlZk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Jfbo4vuLqcBOeNpy488Q6UNO4jtp5efo1z1DKL5f3i23HvZdjFU0KCW5b22l0Ctiv vZHb55Ja2flbXGeOccpt9tbIQXpV+4OnfjatnjcxTrmrh5HB/4iIuH/osQribx/xHE 0bgs4VJk3I/TnSbCQqL/T7GbubHRvMXaiN+7jvTE= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Fabio Estevam , Rob Herring , Shawn Guo , Sasha Levin , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH AUTOSEL 4.19 016/219] ARM: dts: imx50: Fix memory node duplication Date: Fri, 22 Nov 2019 00:45:48 -0500 Message-Id: <20191122054911.1750-9-sashal@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191122054911.1750-1-sashal@kernel.org> References: <20191122054911.1750-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Fabio Estevam [ Upstream commit aab5e3ea95b958cf22a24e756a84e635bdb081c1 ] imx50-evk has duplicate memory nodes: - One coming from the board dts file: memory@ - One coming from the imx50.dtsi file. Fix the duplication by removing the memory node from the dtsi file and by adding 'device_type = "memory";' in the board dts. Reported-by: Rob Herring Signed-off-by: Fabio Estevam Signed-off-by: Shawn Guo Signed-off-by: Sasha Levin --- arch/arm/boot/dts/imx50-evk.dts | 1 + arch/arm/boot/dts/imx50.dtsi | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/imx50-evk.dts b/arch/arm/boot/dts/imx50-evk.dts index 682a99783ee69..a25da415cb02e 100644 --- a/arch/arm/boot/dts/imx50-evk.dts +++ b/arch/arm/boot/dts/imx50-evk.dts @@ -12,6 +12,7 @@ compatible = "fsl,imx50-evk", "fsl,imx50"; memory@70000000 { + device_type = "memory"; reg = <0x70000000 0x80000000>; }; }; diff --git a/arch/arm/boot/dts/imx50.dtsi b/arch/arm/boot/dts/imx50.dtsi index ab522c2da6df6..9e9e92acceb27 100644 --- a/arch/arm/boot/dts/imx50.dtsi +++ b/arch/arm/boot/dts/imx50.dtsi @@ -22,10 +22,8 @@ * The decompressor and also some bootloaders rely on a * pre-existing /chosen node to be available to insert the * command line and merge other ATAGS info. - * Also for U-Boot there must be a pre-existing /memory node. */ chosen {}; - memory { device_type = "memory"; }; aliases { ethernet0 = &fec; -- 2.20.1