Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp10503760imu; Thu, 6 Dec 2018 02:10:30 -0800 (PST) X-Google-Smtp-Source: AFSGD/XgHG5nywtvwJ6fCSBJ9ISlY8RtUZ/eJZHhxoNxpYXKMiJ8oDOguTpt7VbDUYGsMQhYGqL7 X-Received: by 2002:a17:902:bf0c:: with SMTP id bi12mr2737649plb.0.1544091029953; Thu, 06 Dec 2018 02:10:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544091029; cv=none; d=google.com; s=arc-20160816; b=HcGRSnJjv3aqkeyWKyGmKX2kAvMJBPgFzT5LYaQJ9R2c6Hz7CfcMsff15xLpdEO9Rw ZpZfpTz+XAkPdz6PHF+eUCWodlR2NzqQvSeRhuAbufiqwtMflQlQNAj+jzsDH058KTyq vUKffTJmx5kYRshd19LzOXRoIpzNW8yCWtRR1YJb7ej9mOZvtsve/MQX7/lQdRTMwM1f c/u+Q+8fTPa0wCWeCx/wulXkOQVJVc+rNpAWr1ZHpMau0UvCi+OYRy4pg6z0Twv2W0Rf V48RE6gPzs5W5oqU7h4LHCrNlwZnnU3YZpopFafzxdjYeu43igpmDhshubrItrWaf94G CQUA== 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:organization :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=ydbINwojpYRSXY/r/4xdFQC3b7eWc6o2T8B/MVbGzqg=; b=sSyLB85Y4bpZu4w7YSqzLAAV43T+xA1Oudax6WKiy9su4skxbuZX6CUZx8aUKXfAkq qcOdvHbAZ0XPF+KzyEUad0rznlVWS7U/SpDqEqa6zBtLn3NinX+bGgy1jeADHBttewP4 V8g5oIeOlrA0W+7qaknJY5lwiSGa2UJBUHNTUf82Ki3bTXmrKzTR+xRfVP+YXIAZqVbl 50gCI2SE6pSZ9P7aeqN3RYVy0tgM+XMZ/ELNDJtqL6Xn2lqAqxQSPVWK0KH4fp2ExXu8 PoV282cPbT7j6dTLlzfWGk5ZVxoDkk3n9Bd+Aob2f2rQwXStolO1bYFfrem9Cz5CFJSL 9CBg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m14si864572pgd.326.2018.12.06.02.10.14; Thu, 06 Dec 2018 02:10:29 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729289AbeLFKJY (ORCPT + 99 others); Thu, 6 Dec 2018 05:09:24 -0500 Received: from mail-qk1-f194.google.com ([209.85.222.194]:41447 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727575AbeLFKJY (ORCPT ); Thu, 6 Dec 2018 05:09:24 -0500 Received: by mail-qk1-f194.google.com with SMTP id 189so13670051qkj.8; Thu, 06 Dec 2018 02:09:23 -0800 (PST) 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:mime-version:organization:content-transfer-encoding; bh=ydbINwojpYRSXY/r/4xdFQC3b7eWc6o2T8B/MVbGzqg=; b=K2J6oNKms4WZ9jhDVNw/YJULAeDNAtssPXClA2VWhGW33VWexfb10qtUeA7q03UV1T X72kk/EzJbLF89L9BAY0Ya9JgtTtAiHVy9LvOboLtLcAcmKM775UMLHm3tsPNbLDw/N6 hxE8lwQEKZ4jowwxxA334+DcrBlldkaKdzLN+iwMMKYIfgmFLFvE51feNZKBSWfmHVIr euFYhk+olnlbMF3jpCdZfPKEQUFJInvMyynfuzejoROX74fiK6rj33Du9PF1ovBIOevr H7I51jV3bgRQLMk42pH5bKEFe+J+e43kZvp270zyd+Ul9/vWGlU40MSeSjBV3ZAaz+mp lPXQ== X-Gm-Message-State: AA+aEWYiQG9WH3rx990fUQGaKnTzW3y1ccBRyeObaI0/bRTcRKBIYyW6 JcCVrnl3nPcO6d5ZNax4aaE= X-Received: by 2002:a37:4f8a:: with SMTP id d132mr25033506qkb.17.1544090963145; Thu, 06 Dec 2018 02:09:23 -0800 (PST) Received: from localhost.localdomain ([181.220.65.91]) by smtp.gmail.com with ESMTPSA id k6sm16111395qtk.41.2018.12.06.02.09.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 06 Dec 2018 02:09:22 -0800 (PST) Received: by localhost.localdomain (sSMTP sendmail emulation); Thu, 06 Dec 2018 08:09:15 -0200 From: Otavio Salvador To: linux-arm-kernel@lists.infradead.org Cc: Fabio Estevam , Otavio Salvador , Fabio Estevam , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , Pengutronix Kernel Team , Mark Rutland , Sascha Hauer , Shawn Guo , NXP Linux Team Subject: [PATCH v2 1/9] ARM: dts: imx7d-pico: Do not harcode the memory size Date: Thu, 6 Dec 2018 08:08:57 -0200 Message-Id: <20181206100905.15053-2-otavio@ossystems.com.br> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181206100905.15053-1-otavio@ossystems.com.br> References: <20181206100905.15053-1-otavio@ossystems.com.br> MIME-Version: 1.0 Organization: O.S. Systems Software LTDA. 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 Currently the memory size described in dts is 2GB, which is incorrect. There are 512MB and 1GB versions of imx7d-pico boards, so remove the hardcoded memory size and let the bootloader pass the correct value to the kernel. Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador --- Changes in v2: None arch/arm/boot/dts/imx7d-pico.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx7d-pico.dtsi b/arch/arm/boot/dts/imx7d-pico.dtsi index 934a019f341e..0df68e53e9fa 100644 --- a/arch/arm/boot/dts/imx7d-pico.dtsi +++ b/arch/arm/boot/dts/imx7d-pico.dtsi @@ -48,9 +48,10 @@ model = "Technexion Pico i.MX7D Board"; compatible = "technexion,imx7d-pico", "fsl,imx7d"; + /* Will be filled by the bootloader */ memory@80000000 { device_type = "memory"; - reg = <0x80000000 0x80000000>; + reg = <0x80000000 0>; }; reg_ap6212: regulator-ap6212 { -- 2.19.2