* [PATCH] ARM: beagleplay: Add missing DRAM frequencies
@ 2025-01-20 6:50 Sascha Hauer
2025-01-21 8:07 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Sascha Hauer @ 2025-01-20 6:50 UTC (permalink / raw)
To: Barebox List
The DDR driver needs the frequencies initialized, otherwise it fails
with a division by zero error.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
arch/arm/boards/beagleplay/ddr.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boards/beagleplay/ddr.c b/arch/arm/boards/beagleplay/ddr.c
index 3f8b36026a..027fc407fb 100644
--- a/arch/arm/boards/beagleplay/ddr.c
+++ b/arch/arm/boards/beagleplay/ddr.c
@@ -578,6 +578,9 @@ static struct k3_ddr_initdata initdata = {
.ctl_regs = &ctl_regs,
.pi_regs = &pi_regs,
.phy_regs = &phy_regs,
+ .freq0 = 25000000,
+ .freq1 = 400000000,
+ .freq2 = 400000000,
};
void beagleplay_ddr_init(void)
--
2.39.5
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: beagleplay: Add missing DRAM frequencies
2025-01-20 6:50 [PATCH] ARM: beagleplay: Add missing DRAM frequencies Sascha Hauer
@ 2025-01-21 8:07 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2025-01-21 8:07 UTC (permalink / raw)
To: Barebox List, Sascha Hauer
On Mon, 20 Jan 2025 07:50:41 +0100, Sascha Hauer wrote:
> The DDR driver needs the frequencies initialized, otherwise it fails
> with a division by zero error.
>
>
Applied, thanks!
[1/1] ARM: beagleplay: Add missing DRAM frequencies
https://git.pengutronix.de/cgit/barebox/commit/?id=d39db0d28982 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer@pengutronix.de>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-01-21 8:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-20 6:50 [PATCH] ARM: beagleplay: Add missing DRAM frequencies Sascha Hauer
2025-01-21 8:07 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox