uboot-rockchip: fix nanopi-r2s failed to boot on some sd cards
This reverts commit ed5c12569b.
This commit is contained in:
parent
bd67cfd5f2
commit
8fcd9541fd
@ -0,0 +1,38 @@
|
|||||||
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Yuan Tao <ty@wevs.org>
|
||||||
|
Date: Sun, 9 Aug 2020 09:02:55 +0800
|
||||||
|
Subject: [PATCH] rockchip: rk3328: fix nanopi-r2s failed to boot on some sd cards
|
||||||
|
|
||||||
|
Issues:
|
||||||
|
When booting on some SD cards an error message appears as:
|
||||||
|
"spl: mmc init failed with error: -95"
|
||||||
|
|
||||||
|
Solutions:
|
||||||
|
Add regulator-boot-on parameters to vcc_sd.
|
||||||
|
Add startup-delay-us parameters to vcc_sdio.
|
||||||
|
This will improve the problem that in some SD cards are failing to boot up.
|
||||||
|
|
||||||
|
Tested environment:
|
||||||
|
SD Card: Netac Extreme P500 Pro 32GB
|
||||||
|
|
||||||
|
Signed-off-by: Yuan Tao <ty@wevs.org>
|
||||||
|
---
|
||||||
|
|
||||||
|
--- a/arch/arm/dts/rk3328-nanopi-r2s.dts
|
||||||
|
+++ b/arch/arm/dts/rk3328-nanopi-r2s.dts
|
||||||
|
@@ -32,6 +32,7 @@
|
||||||
|
regulator-name = "vcc_sd";
|
||||||
|
regulator-min-microvolt = <3300000>;
|
||||||
|
regulator-max-microvolt = <3300000>;
|
||||||
|
+ regulator-boot-on;
|
||||||
|
vin-supply = <&vcc_io>;
|
||||||
|
};
|
||||||
|
|
||||||
|
@@ -49,6 +50,7 @@
|
||||||
|
regulator-name = "vcc_sdio";
|
||||||
|
regulator-settling-time-us = <5000>;
|
||||||
|
regulator-type = "voltage";
|
||||||
|
+ startup-delay-us = <2000>;
|
||||||
|
vin-supply = <&vcc_io>;
|
||||||
|
};
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user