-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
odroid/common: disable buggy emmc hotplug (set non-removable)
Fixes log spam about clock speed changing when attempting to detect hot plugged emmc card. Drop previous patch which removed the log line to fix this. https://forum.odroid.com/viewtopic.php?f=146&t=40154&p=304817#p304817 Signed-off-by: Christian Stewart <christian@paral.in>
- Loading branch information
Showing
5 changed files
with
38 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 0 additions & 34 deletions
34
configs/odroid/common/kernel_patches/0001-mmc-dw_mmc-fix-the-spamming-log-message.patch
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
...oid/common/kernel_patches/0003-exynos5422-odroidxu3-mark-mmc0-as-non-removable-to-d.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
From 4c98804462c3c042a32f8002a55c7e3539b59a1c Mon Sep 17 00:00:00 2001 | ||
From: Christian Stewart <christian@paral.in> | ||
Date: Mon, 31 Aug 2020 19:13:42 -0700 | ||
Subject: [PATCH] exynos5422: odroidxu3: mark mmc0 as non-removable to disable | ||
hotplug | ||
|
||
Prevents spamming of frequency-change log messages when attempting to detect | ||
hot-plug of eMMC. | ||
|
||
Signed-off-by: Christian Stewart <christian@paral.in> | ||
--- | ||
arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi | ||
index eb82d34ceec8..05e5a20e5179 100755 | ||
--- a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi | ||
+++ b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi | ||
@@ -147,6 +147,7 @@ | ||
status = "okay"; | ||
mmc-pwrseq = <&emmc_pwrseq>; | ||
card-detect-delay = <200>; | ||
+ non-removable; | ||
samsung,dw-mshc-ciu-div = <3>; | ||
samsung,dw-mshc-sdr-timing = <0 4>; | ||
samsung,dw-mshc-ddr-timing = <0 2>; | ||
-- | ||
2.28.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters