pmaports/temp/u-boot-pinephone/0001-Set-RAM-clock-back-to-552.patch
Bart Ribbers 9835084f5a
temp/u-boot-pinephone: set RAM block back to 552 (MR 1527)
We were using a frequency of 624 which froze my device and in the past
other units too. Set it back to 552 as before so this doesn't happen
anymore

This is being upstreamed, https://gitlab.com/pine64-org/u-boot/-/merge_requests/3

(cherry picked from commit 88b48dee152686a887809ddb296cfd96e0c89f55)
2020-09-03 01:48:09 -07:00

30 lines
963 B
Diff

This is being upstreamed, https://gitlab.com/pine64-org/u-boot/-/merge_requests/3
From 74ec7d4ab140e88158212f4e565dc7ab22d5d4f0 Mon Sep 17 00:00:00 2001
From: Bart Ribbers <bribbers@disroot.org>
Date: Wed, 2 Sep 2020 11:13:50 +0200
Subject: [PATCH] Set RAM clock back to 552
Any higher will cause random freezes. We've experienced this in the past
and now I've been experiencing it with a 1.2a device. Decreasing it back
to 552 fixed the issue for me.
---
configs/pinephone_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/pinephone_defconfig b/configs/pinephone_defconfig
index 1ffd495d79..9268a861bf 100644
--- a/configs/pinephone_defconfig
+++ b/configs/pinephone_defconfig
@@ -3,7 +3,7 @@ CONFIG_ARCH_SUNXI=y
CONFIG_SPL=y
CONFIG_MACH_SUN50I=y
CONFIG_SUNXI_DRAM_LPDDR3_STOCK=y
-CONFIG_DRAM_CLK=624
+CONFIG_DRAM_CLK=552
CONFIG_DRAM_ZQ=3881949
CONFIG_MMC_SUNXI_SLOT_EXTRA=2
# CONFIG_VIDEO_DE2 is not set
--
2.28.0