mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH 2/2] ARM: imx8mm-evk: Add missing fsp_table
Date: Mon, 24 Oct 2022 08:36:36 +0200	[thread overview]
Message-ID: <20221024063636.2150155-2-s.hauer@pengutronix.de> (raw)
In-Reply-To: <20221024063636.2150155-1-s.hauer@pengutronix.de>

The fsp_table is needed for TF-A binaries that support DDR frequency
changing. On upstream TF-A this was introduced for i.MX8MM with:

| commit 9c336f6118a94970f4045641a971fd1e24dba462
| Author: Jacky Bai <ping.bai@nxp.com>
| Date:   Mon Nov 25 13:19:37 2019 +0800
|
|     feat(imx8m): add the ddr frequency change support for imx8m family
|
|     Add the DDR frequency change support.
|
|     Signed-off-by: Jacky Bai <ping.bai@nxp.com>
|     Change-Id: If1167785796b8678c351569b83d2922c66f6e530

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 arch/arm/boards/nxp-imx8mm-evk/lpddr4-timing.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boards/nxp-imx8mm-evk/lpddr4-timing.c b/arch/arm/boards/nxp-imx8mm-evk/lpddr4-timing.c
index e7c01f9cc9..4b31d2803c 100644
--- a/arch/arm/boards/nxp-imx8mm-evk/lpddr4-timing.c
+++ b/arch/arm/boards/nxp-imx8mm-evk/lpddr4-timing.c
@@ -1975,4 +1975,5 @@ struct dram_timing_info imx8mm_evk_dram_timing = {
 	.ddrphy_trained_csr_num = ARRAY_SIZE(lpddr4_ddrphy_trained_csr),
 	.ddrphy_pie = lpddr4_phy_pie,
 	.ddrphy_pie_num = ARRAY_SIZE(lpddr4_phy_pie),
+	.fsp_table = { 4000, 400, 100, },
 };
-- 
2.30.2




  reply	other threads:[~2022-10-24  6:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-24  6:36 [PATCH 1/2] ARM: imx8mm-evk: Switch to deep-probe Sascha Hauer
2022-10-24  6:36 ` Sascha Hauer [this message]
2022-10-24  7:58 ` Marco Felsch

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=20221024063636.2150155-2-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.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