Skip to content

Commit

Permalink
Merge pull request #481 from neomanic/master
Browse files Browse the repository at this point in the history
u-boot: Set default DRAM clock for lime2 and lime2-emmc down to an actually stable 384 MHz (from 480).
  • Loading branch information
igorpecovnik committed Sep 30, 2016
2 parents adaeacf + 45c3513 commit 9803e80
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion patch/u-boot/u-boot-next/add-lime2-emmc.patch
Expand Up @@ -7,7 +7,7 @@ index 0000000..8eb70ae
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_MACH_SUN7I=y
+CONFIG_DRAM_CLK=480
+CONFIG_DRAM_CLK=384
+CONFIG_MMC0_CD_PIN="PH1"
+CONFIG_MMC_SUNXI_SLOT_EXTRA=2
+CONFIG_USB0_VBUS_PIN="PC17"
Expand Down
14 changes: 14 additions & 0 deletions patch/u-boot/u-boot-next/lime2-dram-clk.patch
@@ -0,0 +1,14 @@
diff --git a/configs/A20-OLinuXino-Lime2_defconfig b/configs/A20-OLinuXino-Lime2_defconfig
index cc5858e..55f578a 100644
--- a/configs/A20-OLinuXino-Lime2_defconfig
+++ b/configs/A20-OLinuXino-Lime2_defconfig
@@ -1,7 +1,7 @@
CONFIG_ARM=y
CONFIG_ARCH_SUNXI=y
CONFIG_MACH_SUN7I=y
-CONFIG_DRAM_CLK=480
+CONFIG_DRAM_CLK=384
CONFIG_MMC0_CD_PIN="PH1"
CONFIG_USB0_VBUS_PIN="PC17"
CONFIG_USB0_VBUS_DET="PH5"

0 comments on commit 9803e80

Please sign in to comment.