aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-sunxi/patches
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2019-01-13 17:16:42 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2019-01-13 17:35:14 +0100
commitd560deb7f2240d51027f9296d5dd549e51cd093f (patch)
treed3e07cadda5ea2d8bafb336ef48071efde606463 /package/boot/uboot-sunxi/patches
parent7a53fb40ca2f79cc3f2a0b7ab4d5e4d71d34119b (diff)
downloadupstream-d560deb7f2240d51027f9296d5dd549e51cd093f.tar.gz
upstream-d560deb7f2240d51027f9296d5dd549e51cd093f.tar.bz2
upstream-d560deb7f2240d51027f9296d5dd549e51cd093f.zip
uboot-sunxi: Orange Pi Zero Plus: Fix SdCard detection
The Detection pin is at PF6 and not at PH13 like defined before. I checked the schematics and now I am am not seeing this error message any more: Loading Environment from FAT... Card did not respond to voltage select! Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/boot/uboot-sunxi/patches')
-rw-r--r--package/boot/uboot-sunxi/patches/240-sun50i-h5-Orange-Pi-Zero-Plus-Fix-SdCard-detection.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/boot/uboot-sunxi/patches/240-sun50i-h5-Orange-Pi-Zero-Plus-Fix-SdCard-detection.patch b/package/boot/uboot-sunxi/patches/240-sun50i-h5-Orange-Pi-Zero-Plus-Fix-SdCard-detection.patch
new file mode 100644
index 0000000000..2feab76754
--- /dev/null
+++ b/package/boot/uboot-sunxi/patches/240-sun50i-h5-Orange-Pi-Zero-Plus-Fix-SdCard-detection.patch
@@ -0,0 +1,28 @@
+From ad320d4d6ad03af5ff730546113d53a47ef6a22e Mon Sep 17 00:00:00 2001
+From: Hauke Mehrtens <hauke@hauke-m.de>
+Date: Sun, 13 Jan 2019 17:05:09 +0100
+Subject: [PATCH] sun50i: h5: Orange Pi Zero Plus: Fix SdCard detection
+
+The Detection pin is at PF6 and not at PH13 like defined before. I
+checked the schematics and now I am am not seeing this error message any
+more:
+Loading Environment from FAT... Card did not respond to voltage select!
+
+Fixes: 76d69eb01de ("sun50i: h5: Add initial Orange Pi Zero Plus support")
+Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
+---
+ configs/orangepi_zero_plus_defconfig | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+--- a/configs/orangepi_zero_plus_defconfig
++++ b/configs/orangepi_zero_plus_defconfig
+@@ -4,8 +4,7 @@ CONFIG_SPL=y
+ CONFIG_MACH_SUN50I_H5=y
+ CONFIG_DRAM_CLK=624
+ CONFIG_DRAM_ZQ=3881977
+-CONFIG_MMC0_CD_PIN="PH13"
+-CONFIG_MMC_SUNXI_SLOT_EXTRA=2
++CONFIG_MMC0_CD_PIN="PF6"
+ CONFIG_NR_DRAM_BANKS=1
+ # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+ # CONFIG_CMD_FLASH is not set