Message ID | SEYPR01MB4221943C7B101DD2318DA0D3D7CE2@SEYPR01MB4221.apcprd01.prod.exchangelabs.com (mailing list archive) |
---|---|
State | Handled Elsewhere |
Headers | show |
Series | riscv: dts: sophgo: disable write-protection for milkv duo | expand |
On Tue, 18 Jun 2024 09:16:14 +0000, Haylen Chu wrote: > Milkv Duo does not have a write-protect pin, so disable write protect > to prevent SDcards misdetected as read-only. > > Applied to sophgo/fixes, thanks! [1/1] riscv: dts: sophgo: disable write-protection for milkv duo https://github.com/sophgo/linux/commit/90f6cc7f8e07b926f60e3a37944c428e7809bed1 Thanks, Inochi
diff --git a/arch/riscv/boot/dts/sophgo/cv1800b-milkv-duo.dts b/arch/riscv/boot/dts/sophgo/cv1800b-milkv-duo.dts index cd013588adc0..375ff2661b6e 100644 --- a/arch/riscv/boot/dts/sophgo/cv1800b-milkv-duo.dts +++ b/arch/riscv/boot/dts/sophgo/cv1800b-milkv-duo.dts @@ -45,6 +45,7 @@ &sdhci0 { no-1-8-v; no-mmc; no-sdio; + disable-wp; }; &uart0 {
Milkv Duo does not have a write-protect pin, so disable write protect to prevent SDcards misdetected as read-only. Fixes: 89a7056ed4f7 ("riscv: dts: sophgo: add sdcard support for milkv duo") Signed-off-by: Haylen Chu <heylenay@outlook.com> --- arch/riscv/boot/dts/sophgo/cv1800b-milkv-duo.dts | 1 + 1 file changed, 1 insertion(+)