[PATCH] arm64: dts: zynqmp: make hw-ecc as the default ecc mode

Michal Simek michal.simek at amd.com
Thu Oct 19 12:29:56 CEST 2023



On 10/12/23 15:58, Michal Simek wrote:
> From: Amit Kumar Mahapatra <amit.kumar-mahapatra at amd.com>
> 
> Except for Linux no other component (i.e., u-boot, fsbl or BootRom) of the
> software stack supports software ecc engine. So, make hw-ecc as the default
> ecc mode.
> 
> Signed-off-by: Amit Kumar Mahapatra <amit.kumar-mahapatra at amd.com>
> Signed-off-by: Michal Simek <michal.simek at amd.com>
> ---
> 
>   arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts | 6 ++----
>   1 file changed, 2 insertions(+), 4 deletions(-)
> 
> diff --git a/arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts b/arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts
> index 23a3ff2fed98..160c6c58b36d 100644
> --- a/arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts
> +++ b/arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts
> @@ -141,8 +141,7 @@
>   		reg = <0x0>;
>   		#address-cells = <0x2>;
>   		#size-cells = <0x1>;
> -		nand-ecc-mode = "soft";
> -		nand-ecc-algo = "bch";
> +		nand-ecc-mode = "hw";
>   		nand-rb = <0>;
>   		label = "main-storage-0";
>   		nand-ecc-step-size = <1024>;
> @@ -178,8 +177,7 @@
>   		reg = <0x1>;
>   		#address-cells = <0x2>;
>   		#size-cells = <0x1>;
> -		nand-ecc-mode = "soft";
> -		nand-ecc-algo = "bch";
> +		nand-ecc-mode = "hw";
>   		nand-rb = <0>;
>   		label = "main-storage-1";
>   		nand-ecc-step-size = <1024>;

Applied.
M


More information about the U-Boot mailing list