From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: Steffen Trumtrar <s.trumtrar@pengutronix.de>,
barebox@lists.infradead.org,
Sascha Hauer <s.hauer@pengutronix.de>
Subject: Re: [PATCH v2 1/4] ARM: i.MX: esdctl: fix spelling of ad(d)ress
Date: Mon, 9 Mar 2026 15:56:48 +0100 [thread overview]
Message-ID: <da700c80-b587-4dfd-80e8-755ce2b7dfc2@pengutronix.de> (raw)
In-Reply-To: <20260309-v2026-02-0-topic-imx8-ecc-v2-1-6aab6d795061@pengutronix.de>
On 3/9/26 8:46 AM, Steffen Trumtrar wrote:
> address is spelled with two 'd's. Fix the spelling mistake.
>
> Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
> ---
> arch/arm/mach-imx/esdctl.c | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/arch/arm/mach-imx/esdctl.c b/arch/arm/mach-imx/esdctl.c
> index 935c3d3257..b6689b7ffc 100644
> --- a/arch/arm/mach-imx/esdctl.c
> +++ b/arch/arm/mach-imx/esdctl.c
> @@ -262,7 +262,7 @@ static int imx_esdctl_v4_add_mem(void *esdctlbase, const struct imx_esdctl_data
> }
>
> /*
> - * On i.MX6 the adress space reserved for SDRAM is 0x10000000 to 0xFFFFFFFF
> + * On i.MX6 the address space reserved for SDRAM is 0x10000000 to 0xFFFFFFFF
> * which makes the maximum supported RAM size 0xF0000000.
> */
> #define IMX6_MAX_SDRAM_SIZE 0xF0000000
> @@ -380,7 +380,7 @@ static resource_size_t
> imx_ddrc_sdram_size(void __iomem *ddrc, const u32 addrmap[DDRC_ADDRMAP_LENGTH],
> u8 col_max, const u8 col_b[], unsigned int col_b_num,
> u8 row_max, const u8 row_b[], unsigned int row_b_num,
> - bool reduced_adress_space, unsigned int mstr)
> + bool reduced_address_space, unsigned int mstr)
> {
> unsigned int banks, ranks, columns, rows, active_ranks, width;
> resource_size_t size;
> @@ -459,7 +459,7 @@ imx_ddrc_sdram_size(void __iomem *ddrc, const u32 addrmap[DDRC_ADDRMAP_LENGTH],
> size = memory_sdram_size(columns, rows, 1 << banks, 1) >> 1;
> size <<= ranks;
>
> - return reduced_adress_space ? size * 3 / 4 : size;
> + return reduced_address_space ? size * 3 / 4 : size;
> }
>
> static void imx_ddrc_set_mstr_device_config(u32 *mstr, unsigned bits)
> @@ -505,7 +505,7 @@ static resource_size_t imx8m_ddrc_sdram_size(void __iomem *ddrc, unsigned buswid
> FIELD_GET(DDRC_ADDRMAP6_ROW_B12, addrmap[6]),
> FIELD_GET(DDRC_ADDRMAP5_ROW_B11, addrmap[5]),
> };
> - const bool reduced_adress_space =
> + const bool reduced_address_space =
> FIELD_GET(DDRC_ADDRMAP6_LPDDR4_6GB_12GB_24GB, addrmap[6]);
> u32 mstr = readl(ddrc + DDRC_MSTR);
>
> @@ -516,7 +516,7 @@ static resource_size_t imx8m_ddrc_sdram_size(void __iomem *ddrc, unsigned buswid
> return imx_ddrc_sdram_size(ddrc, addrmap,
> 12, ARRAY_AND_SIZE(col_b),
> 18, ARRAY_AND_SIZE(row_b),
> - reduced_adress_space, mstr);
> + reduced_address_space, mstr);
> }
>
> static int _imx8m_ddrc_add_mem(void *mmdcbase, const struct imx_esdctl_data *data,
> @@ -630,7 +630,7 @@ static resource_size_t imx7d_ddrc_sdram_size(void __iomem *ddrc)
> FIELD_GET(DDRC_ADDRMAP6_ROW_B12, addrmap[6]),
> FIELD_GET(DDRC_ADDRMAP5_ROW_B11, addrmap[5]),
> };
> - const bool reduced_adress_space =
> + const bool reduced_address_space =
> FIELD_GET(DDRC_ADDRMAP6_LPDDR3_6GB_12GB, addrmap[6]);
> u32 mstr = readl(ddrc + DDRC_MSTR);
>
> @@ -640,7 +640,7 @@ static resource_size_t imx7d_ddrc_sdram_size(void __iomem *ddrc)
> return imx_ddrc_sdram_size(ddrc, addrmap,
> 11, ARRAY_AND_SIZE(col_b),
> 15, ARRAY_AND_SIZE(row_b),
> - reduced_adress_space, mstr);
> + reduced_address_space, mstr);
> }
>
> static int imx7d_ddrc_add_mem(void *mmdcbase, const struct imx_esdctl_data *data)
>
--
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:[~2026-03-09 14:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-09 7:46 [PATCH v2 0/4] ARM: i.MX8: add DDRC-ECC support Steffen Trumtrar
2026-03-09 7:46 ` [PATCH v2 1/4] ARM: i.MX: esdctl: fix spelling of ad(d)ress Steffen Trumtrar
2026-03-09 14:56 ` Ahmad Fatoum [this message]
2026-03-09 7:46 ` [PATCH v2 2/4] arm: mach-imx: esdctl.c: Add support for imx8mp inline ECC Steffen Trumtrar
2026-03-09 14:56 ` Ahmad Fatoum
2026-03-09 7:46 ` [PATCH v2 3/4] drivers: ddr: imx8m: ddr_init.c: support ECC scrubbing Steffen Trumtrar
2026-03-09 15:12 ` Ahmad Fatoum
2026-03-09 7:46 ` [PATCH v2 4/4] arm: boards: protonic-imx8ml: Add ECC + scrubbing Steffen Trumtrar
2026-03-09 15:21 ` Ahmad Fatoum
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=da700c80-b587-4dfd-80e8-755ce2b7dfc2@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=s.hauer@pengutronix.de \
--cc=s.trumtrar@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