Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6247741imu; Sun, 2 Dec 2018 13:26:24 -0800 (PST) X-Google-Smtp-Source: AFSGD/Vg5AgSfOXsa9GlCYNuJg0N1gt48Lr6eOJU4Aknn+i1UvjniIQrMTvvmBJfPa10VbytQeKf X-Received: by 2002:a63:ea15:: with SMTP id c21mr10688985pgi.361.1543785984746; Sun, 02 Dec 2018 13:26:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543785984; cv=none; d=google.com; s=arc-20160816; b=MJ6sPvgu9hhtnTOhHR5nw2nDhoOwVAk+Npa2ejjhOwTWj1xgobodt2xWSqIE0a1wY1 lcfdrg3AJtCyl3CPgPXyZfpSkP6o2SCNzHwHRtEPYBhj1ZO7rQ9Cog03ADa8ACTtuHy1 oxvDjLwY1MkdcmGVqNBE7vhsjDd30f4im9fgo2dqd+4QPmzgG8jSWSt1pN+hGG7iOovq R07UkRAcxqcWnb1mZh2j9aQRLLU9nOU5/SzgztORt4rOEzp53+e9aZsbM32M3/8R2az1 eo7C2nAsyM5/6BRPJD28NhvF/Ng/P4wN2oyZ140IzYCnyZ3+U/VTGZczFfgRM65kA8BS B8pg== 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=5VimbIFi7OVHRFMwGgep9oeo2PRq364OcB5EGIt48LQ=; b=waktFE4Y29vl4onEOI569e1HGSxFo7N2aG2ljO8Grn9axcVfwzaNEe5ZuTQoXOMlb1 5nxT6wscIkxWcyhoVQIJTD5nF92lWSrvQ5o5KiY7Zs9RHENQa9uLADRhpmyoE9SF54s+ zt41G8v/xGQep5nnyycD6r20y5QYOsbNTCJzVNvGYUc3Au9fliSJRVyDw0AteOhd6nYR W66Km39fvlvMTjnJcin//BYyRwOz3xeVSbbZkErpoKlbuzA+XTKC6083M1CtJ3RzV5LV NisnSRkayYoyzAIhC8D9mBlyrHmdiKwQcXSHd2chMJ6TXcLY4RR9BGjU5dFS62i3zWLC hq5Q== 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 y25si10981277pgl.226.2018.12.02.13.26.10; Sun, 02 Dec 2018 13:26:24 -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 S1725927AbeLBVZk (ORCPT + 99 others); Sun, 2 Dec 2018 16:25:40 -0500 Received: from mail-qt1-f195.google.com ([209.85.160.195]:43169 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725778AbeLBVZj (ORCPT ); Sun, 2 Dec 2018 16:25:39 -0500 Received: by mail-qt1-f195.google.com with SMTP id i7so11632633qtj.10; Sun, 02 Dec 2018 13:25:37 -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=5VimbIFi7OVHRFMwGgep9oeo2PRq364OcB5EGIt48LQ=; b=dsry+cRXyxlc+69H/DdYtP5aCPUFv12aTbecsRZQHhhWH64A0qA5iBi9NdB8Ns4jpf rozp6qqOB21/oCciMDJCcF4WnYHYOwZewwYq6O/zytym5HPfC/3/zRrDCMFXMDWiS0PL RfPWdjQeqiQ7/i8F0S0ebkc05zDYuc7ApcN8yxphvzboPF4loYAXHE/vJjjuTZn0AnpU gzN2SPjzSx5/tqDbDly5w3w9DWZBxWdQ0RK45cn9QogbraTopreZa9pyK+2JXjw4pRBP E/JiHHHjhR549bUyZwM6Rb7irwrFon9E3EJjniDxA5lOoG3GTQRGlTMdOUfmS+eepAkW U9ig== X-Gm-Message-State: AA+aEWZpwlS/C3PlKox1vc1RnMbLNyhwm+kq1ETWbv7a7UXR2Tv5cI9c Skfn9HmYosm3x0dxSBquEyE= X-Received: by 2002:ac8:2dc3:: with SMTP id q3mr13379304qta.178.1543785936648; Sun, 02 Dec 2018 13:25:36 -0800 (PST) Received: from localhost.localdomain ([181.220.65.91]) by smtp.gmail.com with ESMTPSA id w34sm6900294qtj.27.2018.12.02.13.25.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 02 Dec 2018 13:25:35 -0800 (PST) Received: by localhost.localdomain (sSMTP sendmail emulation); Sun, 02 Dec 2018 19:25:29 -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 1/9] ARM: dts: imx7d-pico: Do not harcode the memory size Date: Sun, 2 Dec 2018 19:25:12 -0200 Message-Id: <20181202212520.16650-2-otavio@ossystems.com.br> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181202212520.16650-1-otavio@ossystems.com.br> References: <20181202212520.16650-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 --- 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