From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Teresa Remmet <t.remmet@phytec.de>,
lst@pengutronix.de,
Joacim Zetterling <joacim.zetterling@westermo.com>,
Andrey Smirnov <andrew.smirnov@gmail.com>
Subject: Re: [PATCH master 0/4] ARM: i.MX8M: fix various miscalculation of DRAM size
Date: Thu, 23 Jun 2022 12:42:47 +0200 [thread overview]
Message-ID: <f88f4968-e4b2-2197-e8a9-ab5f1ad3907a@pengutronix.de> (raw)
In-Reply-To: <20220623103051.572885-1-a.fatoum@pengutronix.de>
On 23.06.22 12:30, Ahmad Fatoum wrote:
> This fixes issues of wrong DRAM size calculation for imx8mq-evk,
> phytec-som-imx8mq, zii-imx8mq-dev as well as an out-of-tree
> i.MX8MM board I have.
>
> For i.MX8MN-EVK, DDR4 size is correctly calculated, but not LPDDR4.
> I can't see where the issue is though, so I am disabling detection
> there until it's figured out. Device Tree already contains correct
> RAM size.
i.MX8MN has only 16-bit wide bus, which would explain the discrepancy.
v2 incoming..
>
> Ahmad Fatoum (4):
> ARM: i.MX8M: esdctl: ignore ADDRMAP8 for non-DDR4
> ARM: i.MX8MQ: initialize ADDRMAP7
> ddr: imx8m: workaround old spreadsheets not initializing ADDRMAP7
> ARM: i.MX8M: imx8mn-evk: disable DDRC memory detection
>
> arch/arm/boards/nxp-imx8mn-evk/board.c | 7 +++++++
> arch/arm/boards/nxp-imx8mq-evk/ddr_init.c | 3 ++-
> arch/arm/boards/phytec-som-imx8mq/ddr_init.c | 1 +
> arch/arm/boards/zii-imx8mq-dev/ddr_init.c | 3 ++-
> arch/arm/mach-imx/esdctl.c | 8 +++++++-
> drivers/ddr/imx8m/ddr_init.c | 18 ++++++++++++++++++
> drivers/ddr/imx8m/helper.c | 6 ++++++
> include/soc/imx8m/ddr.h | 1 +
> 8 files changed, 44 insertions(+), 3 deletions(-)
>
--
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 |
prev parent reply other threads:[~2022-06-23 10:44 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-23 10:30 Ahmad Fatoum
2022-06-23 10:30 ` [PATCH master 1/4] ARM: i.MX8M: esdctl: ignore ADDRMAP8 for non-DDR4 Ahmad Fatoum
2022-06-23 10:30 ` [PATCH master 2/4] ARM: i.MX8MQ: initialize ADDRMAP7 Ahmad Fatoum
2022-06-23 10:30 ` [PATCH master 3/4] ddr: imx8m: workaround old spreadsheets not initializing ADDRMAP7 Ahmad Fatoum
2022-06-23 10:59 ` Teresa Remmet
2022-06-23 11:14 ` Ahmad Fatoum
2022-06-23 11:26 ` Teresa Remmet
2022-06-23 11:47 ` Teresa Remmet
2022-06-23 12:04 ` Ahmad Fatoum
2022-06-23 12:41 ` Teresa Remmet
2022-06-23 10:30 ` [PATCH master 4/4] ARM: i.MX8M: imx8mn-evk: disable DDRC memory detection Ahmad Fatoum
2022-06-23 10:37 ` [PATCH] fixup! " Ahmad Fatoum
2022-06-23 10:42 ` Ahmad Fatoum [this message]
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=f88f4968-e4b2-2197-e8a9-ab5f1ad3907a@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=andrew.smirnov@gmail.com \
--cc=barebox@lists.infradead.org \
--cc=joacim.zetterling@westermo.com \
--cc=lst@pengutronix.de \
--cc=t.remmet@phytec.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