mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Stefan Kerkmann <s.kerkmann@pengutronix.de>
To: Sascha Hauer <s.hauer@pengutronix.de>,
	 BAREBOX <barebox@lists.infradead.org>
Cc: Stefan Kerkmann <s.kerkmann@pengutronix.de>
Subject: [PATCH] ARM: i.MX8MM: Phytec i.MX8MM SoC: change ddr_fsp0_cfg to static struct
Date: Mon, 27 Jan 2025 10:31:30 +0100	[thread overview]
Message-ID: <20250127-fix-phytec-som-8mm-ddr-static-v1-1-ade507aeb4b7@pengutronix.de> (raw)

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>




             reply	other threads:[~2025-01-27  9:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-27  9:31 Stefan Kerkmann [this message]
2025-01-28 10:10 ` Sascha Hauer

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=20250127-fix-phytec-som-8mm-ddr-static-v1-1-ade507aeb4b7@pengutronix.de \
    --to=s.kerkmann@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@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