From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: Oleksij Rempel <o.rempel@pengutronix.de>, barebox@lists.infradead.org
Subject: Re: [PATCH v1 4/7] arm: dts: imx8mp-skov: Simplify SD partition definition to 1 cell
Date: Thu, 28 Sep 2023 22:13:44 +0200 [thread overview]
Message-ID: <b2771224-215c-8fef-ae10-0abb25292e0e@pengutronix.de> (raw)
In-Reply-To: <20230928105837.2512555-4-o.rempel@pengutronix.de>
Hello Oleksij,
On 28.09.23 12:58, Oleksij Rempel wrote:
> Update the partition definitions for SD card in imx8mp-skov to use
> single cell for address and size, streamlining the format.
Is your eMMC really smaller than 4G? If it's >= 4G, barebox will fix it up in
the kernel DT as 2/2 cells, so keeping it 2/2 in barebox removes some noise
in of_diff - + output.
Cheers,
Ahmad
>
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> ---
> arch/arm/dts/imx8mp-skov.dts | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/arch/arm/dts/imx8mp-skov.dts b/arch/arm/dts/imx8mp-skov.dts
> index 1d4738dbd7..b94b9dd51d 100644
> --- a/arch/arm/dts/imx8mp-skov.dts
> +++ b/arch/arm/dts/imx8mp-skov.dts
> @@ -88,17 +88,17 @@ reg_usdhc2_vmmc: regulator-usdhc2 {
> &usdhc2 {
> partitions {
> compatible = "fixed-partitions";
> - #address-cells = <2>;
> - #size-cells = <2>;
> + #address-cells = <1>;
> + #size-cells = <1>;
>
> partition@0 {
> label = "barebox";
> - reg = <0x0 0x0 0x0 0x100000>;
> + reg = <0x0 0x100000>;
> };
>
> - env_sd: partition@e0000 {
> + env_sd: partition@100000 {
> label = "barebox-environment";
> - reg = <0x0 0x100000 0x0 0x100000>;
> + reg = <0x100000 0x100000>;
> };
> };
> };
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
next prev parent reply other threads:[~2023-09-28 20:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-28 10:58 [PATCH v1 1/7] arm: dts: imx8mp-skov: Add reserved-memory for ramoops pstore Oleksij Rempel
2023-09-28 10:58 ` [PATCH v1 2/7] arm: dts: imx8mp-skov: Add pins for hardware variant detection Oleksij Rempel
2023-09-28 10:58 ` [PATCH v1 3/7] arm: dts: imx8mp-skov: Switch to GPT for eMMC partitioning Oleksij Rempel
2023-09-28 10:58 ` [PATCH v1 4/7] arm: dts: imx8mp-skov: Simplify SD partition definition to 1 cell Oleksij Rempel
2023-09-28 20:13 ` Ahmad Fatoum [this message]
2023-09-29 4:38 ` Oleksij Rempel
2023-09-28 10:58 ` [PATCH v1 5/7] arm: dts: imx8mp-skov: Add barebox state backend in DTS Oleksij Rempel
2023-09-28 10:58 ` [PATCH v1 6/7] ARM: i.MX8MP: skov: refactor bootsource and BBU handlers Oleksij Rempel
2023-09-28 10:58 ` [PATCH v1 7/7] ARM: i.MX8MP: skov: Add hardware variant support Oleksij Rempel
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=b2771224-215c-8fef-ae10-0abb25292e0e@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=o.rempel@pengutronix.de \
/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