[PATCH] ARM: mvebu: dts: omnia: enable eMMC writes

Marek Behun marek.behun at nic.cz
Mon Feb 22 17:13:58 CET 2021


On Mon, 22 Feb 2021 17:03:22 +0100
Marek Behun <marek.behun at nic.cz> wrote:

> On Mon, 22 Feb 2021 16:01:10 +0100
> Petr Štetiar <ynezz at true.cz> 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


More information about the U-Boot mailing list