summaryrefslogtreecommitdiff
path: root/package/boot/uboot-sunxi/patches/003-fix-h3-dramclk.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/boot/uboot-sunxi/patches/003-fix-h3-dramclk.patch')
-rw-r--r--package/boot/uboot-sunxi/patches/003-fix-h3-dramclk.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/boot/uboot-sunxi/patches/003-fix-h3-dramclk.patch b/package/boot/uboot-sunxi/patches/003-fix-h3-dramclk.patch
new file mode 100644
index 0000000..46784ef
--- /dev/null
+++ b/package/boot/uboot-sunxi/patches/003-fix-h3-dramclk.patch
@@ -0,0 +1,28 @@
+From 0892c1d5371263e2a02c6fd484fa9647439a7ec9 Mon Sep 17 00:00:00 2001
+From: Hans de Goede <hdegoede@redhat.com>
+Date: Wed, 23 Dec 2015 11:48:40 +0100
+Subject: [PATCH] sunxi: Remove Orangepi PC RAM speed to 624 MHz
+
+There are some reports of stability issues at 672 MHz, see:
+http://linux-sunxi.org/Orange_Pi_PC#DRAM_clock_speed_limit
+
+So reduce the DRAM speed to 624MHz which seems to be reliable everywhere.
+
+Signed-off-by: Hans de Goede <hdegoede@redhat.com>
+---
+ configs/orangepi_pc_defconfig | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configs/orangepi_pc_defconfig b/configs/orangepi_pc_defconfig
+index 75afca9..358caa5 100644
+--- a/configs/orangepi_pc_defconfig
++++ b/configs/orangepi_pc_defconfig
+@@ -1,7 +1,7 @@
+ CONFIG_ARM=y
+ CONFIG_ARCH_SUNXI=y
+ CONFIG_MACH_SUN8I_H3=y
+-CONFIG_DRAM_CLK=672
++CONFIG_DRAM_CLK=624
+ CONFIG_DRAM_ZQ=3881979
+ CONFIG_DRAM_ODT_EN=y
+ # CONFIG_VIDEO is not set