From: Otavio Salvador <otavio@ossystems.com.br>
To: linux-arm-kernel@lists.infradead.org
Cc: Fabio Estevam <festevam@gmail.com>,
Otavio Salvador <otavio@ossystems.com.br>,
Fabio Estevam <fabio.estevam@nxp.com>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Rob Herring <robh+dt@kernel.org>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Mark Rutland <mark.rutland@arm.com>,
Sascha Hauer <s.hauer@pengutronix.de>,
Shawn Guo <shawnguo@kernel.org>,
NXP Linux Team <linux-imx@nxp.com>
Subject: [PATCH v2 1/9] ARM: dts: imx7d-pico: Do not harcode the memory size
Date: Thu, 6 Dec 2018 08:08:57 -0200 [thread overview]
Message-ID: <20181206100905.15053-2-otavio@ossystems.com.br> (raw)
In-Reply-To: <20181206100905.15053-1-otavio@ossystems.com.br>
From: Fabio Estevam <festevam@gmail.com>
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 <festevam@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
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
next prev parent reply other threads:[~2018-12-06 10:09 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-06 10:08 [PATCH v2 0/9] Improvements for i.MX7D PICO SoM and its baseboards Otavio Salvador
2018-12-06 10:08 ` Otavio Salvador [this message]
2018-12-06 10:08 ` [PATCH v2 2/9] ARM: dts: imx7d-pico: Switch to SPDX identifier Otavio Salvador
2018-12-06 10:08 ` [PATCH v2 3/9] ARM: dts: imx7d-pico-pi: Move SoM related part to imx7d-pico.dtsi Otavio Salvador
2018-12-06 10:09 ` [PATCH v2 4/9] ARM: dts: imx7d-pico: Pass the USBOTG1_PWR pinctrl Otavio Salvador
2018-12-06 10:09 ` [PATCH v2 5/9] ARM: dts: imx7d-pico: Pass the Ethernet PHY reset GPIO Otavio Salvador
2018-12-06 10:09 ` [PATCH v2 6/9] ARM: dts: imx7d-pico: Improve WiFi regulator name Otavio Salvador
2018-12-06 10:09 ` [PATCH v2 7/9] ARM: dts: imx7d-pico: Extend peripherals support Otavio Salvador
2018-12-06 10:09 ` [PATCH v2 8/9] ARM: dts: imx7d-pico-pi: " Otavio Salvador
2018-12-06 10:09 ` [PATCH v2 9/9] ARM: dts: imx7d-pico: Add the imx7d-pico-hobbit variant Otavio Salvador
2018-12-06 10:44 ` [PATCH v2 0/9] Improvements for i.MX7D PICO SoM and its baseboards Otavio Salvador
2018-12-08 0:01 ` Otavio Salvador
2018-12-09 13:09 ` Shawn Guo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181206100905.15053-2-otavio@ossystems.com.br \
--to=otavio@ossystems.com.br \
--cc=devicetree@vger.kernel.org \
--cc=fabio.estevam@nxp.com \
--cc=festevam@gmail.com \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox