summaryrefslogtreecommitdiff
path: root/package/boot/uboot-sunxi
diff options
context:
space:
mode:
authorZoltan Herpai <wigyori@uid0.hu>2016-02-02 23:13:29 +0000
committerZoltan Herpai <wigyori@uid0.hu>2016-02-02 23:13:29 +0000
commit87b150dc057256b747327683088937e9d998d59b (patch)
treef7b7ee138b643dc4f991a7ff700f67ef2b6d1964 /package/boot/uboot-sunxi
parenta9c21dd3956f515bfa56cd93f34b3661b82a4dbd (diff)
downloadmtk-20170518-87b150dc057256b747327683088937e9d998d59b.zip
mtk-20170518-87b150dc057256b747327683088937e9d998d59b.tar.gz
mtk-20170518-87b150dc057256b747327683088937e9d998d59b.tar.bz2
packages: uboot-sunxi: fix SATA powerup on Bananapro
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 48619
Diffstat (limited to 'package/boot/uboot-sunxi')
-rw-r--r--package/boot/uboot-sunxi/patches/020-fix-bananapro-sata-LDO4.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/package/boot/uboot-sunxi/patches/020-fix-bananapro-sata-LDO4.patch b/package/boot/uboot-sunxi/patches/020-fix-bananapro-sata-LDO4.patch
new file mode 100644
index 0000000..ce131a3
--- /dev/null
+++ b/package/boot/uboot-sunxi/patches/020-fix-bananapro-sata-LDO4.patch
@@ -0,0 +1,25 @@
+From 54be0f057825b886af008d8d43a97802e5537ab6 Mon Sep 17 00:00:00 2001
+From: Hans de Goede <hdegoede@redhat.com>
+Date: Fri, 22 Jan 2016 14:55:47 +0100
+Subject: [PATCH] sunxi: Bananapro: Set LDO4 to 2.5V
+
+According to the Bananapro schematic VDD25-SATA either comes from a
+dedicated WL2003E25-5 LTO, or it is connected to LDO4 via a
+0 Ohm resistor.
+
+In practice it seems that LDO4 is used, so enable it and set it to 2.5V.
+
+Signed-off-by: Hans de Goede <hdegoede@redhat.com>
+---
+ configs/Bananapro_defconfig | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/configs/Bananapro_defconfig b/configs/Bananapro_defconfig
+index 40588b9..4f4a07b 100644
+--- a/configs/Bananapro_defconfig
++++ b/configs/Bananapro_defconfig
+@@ -17,3 +17,4 @@ CONFIG_CMD_GPIO=y
+ CONFIG_NETCONSOLE=y
+ CONFIG_ETH_DESIGNWARE=y
+ CONFIG_USB_EHCI_HCD=y
++CONFIG_AXP_ALDO4_VOLT=2500