From: Marek Behun Date: Mon, 22 Feb 2021 17:13:58 +0100 Subject: [PATCH] ARM: mvebu: dts: omnia: enable eMMC writes In-Reply-To: <20210222170322.06a825c7@nic.cz> References: <20210222150110.20846-1-ynezz@true.cz> <20210222170322.06a825c7@nic.cz> Message-ID: <20210222171358.6892a5d8@nic.cz> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, 22 Feb 2021 17:03:22 +0100 Marek Behun wrote: > On Mon, 22 Feb 2021 16:01:10 +0100 > Petr ?tetiar wrote: > > --- a/arch/arm/dts/armada-385-turris-omnia.dts > > +++ b/arch/arm/dts/armada-385-turris-omnia.dts > > @@ -85,6 +85,7 @@ > > bus-width = <8>; > > no-1-8-v; > > non-removable; > > + disable-wp; Hmm, Linux Documentation/devicetree/bindings/mmc/mmc-controller.yaml says this about `disable-wp`: When set, no physical write-protect line is present. This property should only be specified when the controller has a dedicated write-protect detection logic. If a GPIO is always used for the write-protect detection logic, it is sufficient to not specify the wp-gpios property in the absence of a write-protect line. Not used in combination with eMMC or SDIO. There is no wp control mechanism on Omnia. No GPIO or anything. So according to documentation, this property should not be used here, and U-Boot is doing something wrong when it denies writes. Marek