* [PATCH] ARM: i.MX8MM: Phytec i.MX8MM SoC: change ddr_fsp0_cfg to static struct
@ 2025-01-27 9:31 Stefan Kerkmann
2025-01-28 10:10 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Kerkmann @ 2025-01-27 9:31 UTC (permalink / raw)
To: Sascha Hauer, BAREBOX; +Cc: Stefan Kerkmann
Otherwise the symbol can be defined multiple times when building a multi
target barebox.
Signed-off-by: Stefan Kerkmann <s.kerkmann@pengutronix.de>
---
arch/arm/boards/phytec-som-imx8mm/lpddr4-timing.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boards/phytec-som-imx8mm/lpddr4-timing.c b/arch/arm/boards/phytec-som-imx8mm/lpddr4-timing.c
index 7d01c181c04722e033e30318fb7e910d9a63354c..9efeedd7d217b77564d8e937c28c8e354dde3392 100644
--- a/arch/arm/boards/phytec-som-imx8mm/lpddr4-timing.c
+++ b/arch/arm/boards/phytec-som-imx8mm/lpddr4-timing.c
@@ -329,7 +329,7 @@ static struct dram_cfg_param ddr_ddrphy_cfg[] = {
};
/* P0 message block paremeter for training firmware */
-struct dram_cfg_param ddr_fsp0_cfg[] = {
+static struct dram_cfg_param ddr_fsp0_cfg[] = {
{ 0xd0000, 0x0 },
{ 0x54003, 0xbb8 },
{ 0x54004, 0x2 },
---
base-commit: 9777d52859f99dd61307e6a4491f352f1f6ade8c
change-id: 20250127-fix-phytec-som-8mm-ddr-static-1c62f6bd256e
Best regards,
--
Stefan Kerkmann <s.kerkmann@pengutronix.de>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-01-28 10:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-27 9:31 [PATCH] ARM: i.MX8MM: Phytec i.MX8MM SoC: change ddr_fsp0_cfg to static struct Stefan Kerkmann
2025-01-28 10:10 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox