lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0b2eecd0-cd5f-48d9-9377-164b5ad5b78d@phytec.de>
Date: Fri, 26 Jul 2024 12:31:03 +0000
From: Benjamin Hahn <B.Hahn@...tec.de>
To: Andrej Picej <andrej.picej@...ik.com>, "robh@...nel.org"
	<robh@...nel.org>, "krzk+dt@...nel.org" <krzk+dt@...nel.org>,
	"conor+dt@...nel.org" <conor+dt@...nel.org>, "shawnguo@...nel.org"
	<shawnguo@...nel.org>, "s.hauer@...gutronix.de" <s.hauer@...gutronix.de>,
	"kernel@...gutronix.de" <kernel@...gutronix.de>, "festevam@...il.com"
	<festevam@...il.com>
CC: "devicetree@...r.kernel.org" <devicetree@...r.kernel.org>, PHYTEC Upstream
	<upstream@...ts.phytec.de>, "linux-kernel@...r.kernel.org"
	<linux-kernel@...r.kernel.org>, "linux-arm-kernel@...ts.infradead.org"
	<linux-arm-kernel@...ts.infradead.org>, "imx@...ts.linux.dev"
	<imx@...ts.linux.dev>
Subject: Re: [Upstream] [PATCH] arm64: dts: imx8mp-phyboard-pollux: Disable
 write-protect on SD card

On 16.07.24 10:51, Andrej Picej wrote:
> Micro SD cards can't be physically write-protected like full-sized
> cards. Disable this feature in device-tree to get rid of the kernel
> warning:
>
> "host does not support reading read-only switch, assuming write-enable"
>
> Signed-off-by: Andrej Picej <andrej.picej@...ik.com>
Reviewed-by: Benjamin Hahn <B.Hahn@...tec.de>
> ---
>   arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts b/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts
> index 00a240484c25..791909dca6e1 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts
> +++ b/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts
> @@ -267,6 +267,7 @@ &usdhc2 {
>   	pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_pins>;
>   	pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_pins>;
>   	cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
> +	disable-wp;
>   	vmmc-supply = <&reg_usdhc2_vmmc>;
>   	bus-width = <4>;
>   	status = "okay";


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ