[PATCH] ARM: i.MX8MM: Phytec i.MX8MM SoC: change ddr_fsp0_cfg to static struct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Otherwise the symbol can be defined multiple times when building a multi
target barebox.

Signed-off-by: Stefan Kerkmann <s.kerkmann@xxxxxxxxxxxxxx>
---
 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@xxxxxxxxxxxxxx>





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux