[PATCH] arm64: zynqmp: Update device tree properties for nand flash

Michal Simek monstr at monstr.eu
Tue Mar 30 09:22:04 CEST 2021


út 23. 2. 2021 v 14:53 odesílatel Michal Simek <michal.simek at xilinx.com> napsal:
>
> From: Amit Kumar Mahapatra <amit.kumar-mahapatra at xilinx.com>
>
> Update the following device tree properties for nand flash
>
> - Set software ecc mode.
> - Set bch as ecc algo.
> - Set read block to 0.
>
> Signed-off-by: Amit Kumar Mahapatra <amit.kumar-mahapatra at xilinx.com>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
>  arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts b/arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts
> index 92d938d665d2..3204456e6451 100644
> --- a/arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts
> +++ b/arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts
> @@ -124,6 +124,10 @@
>                 reg = <0x0>;
>                 #address-cells = <0x2>;
>                 #size-cells = <0x1>;
> +               nand-ecc-mode = "soft";
> +               nand-ecc-algo = "bch";
> +               nand-rb = <0>;
> +               label = "main-storage-0";
>
>                 partition at 0 {   /* for testing purpose */
>                         label = "nand-fsbl-uboot";
> @@ -154,6 +158,10 @@
>                 reg = <0x1>;
>                 #address-cells = <0x2>;
>                 #size-cells = <0x1>;
> +               nand-ecc-mode = "soft";
> +               nand-ecc-algo = "bch";
> +               nand-rb = <0>;
> +               label = "main-storage-1";
>
>                 partition at 0 {   /* for testing purpose */
>                         label = "nand1-fsbl-uboot";
> --
> 2.30.0
>

Applied.
M

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs


More information about the U-Boot mailing list