[PATCH 2/2] ARM: imx8mm-evk: Add missing fsp_table

Sascha Hauer s.hauer at pengutronix.de
Sun Oct 23 23:36:36 PDT 2022


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 at 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 at nxp.com>
|     Change-Id: If1167785796b8678c351569b83d2922c66f6e530

Signed-off-by: Sascha Hauer <s.hauer at 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




More information about the barebox mailing list