[PATCH] ARM: beagleplay: Add missing DRAM frequencies

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

 



The DDR driver needs the frequencies initialized, otherwise it fails
with a division by zero error.

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





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

  Powered by Linux