mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-09 02:43:53 +08:00
uboot-rockchip: fix nanopi-r2s failed to boot on some sd cards
This reverts commit 04557652dd9bee47b59cb504ea6f5b15c365fea0.
This commit is contained in:
parent
97c3870bb9
commit
53555c59ea
@ -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…
x
Reference in New Issue
Block a user