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

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


On Mon, 22 Feb 2021 16:01:10 +0100
Petr Štetiar <ynezz at true.cz> wrote:

> Currently it's not possible to write anything into eMMC from U-Boot, so
> fix this by disabling the default write protection.
> 
> Cc: Marek Behún <marek.behun at nic.cz>
> Signed-off-by: Petr Štetiar <ynezz at true.cz>
> ---
>  arch/arm/dts/armada-385-turris-omnia.dts | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/dts/armada-385-turris-omnia.dts b/arch/arm/dts/armada-385-turris-omnia.dts
> index 5511c84849ee..5bb0b9c07e48 100644
> --- 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;
>  			};
>  
>  			usb3 at f0000 {

Hi, 

0. subject tag should be [PATCH u-boot-marvell] and Stefan Roese should
   be in To: header

1. please make subject prefix contain turris_omnia, instead of
   just omnia, and instead "enable eMMC writes" use
   "disable eMMC write protection"

2. do this by changing armada-385-turris-omnia-u-boot.dtsi, instead
   of changing armada-385-turris-omnia.dts. This file is meant to be
   same as in Linux, u-boot specific changes should be in -u-boot.dtsi
   file

Marek


More information about the U-Boot mailing list