[PATCH] ARM: zynq: Fix size-cells for pl353 driver

Michal Simek monstr at monstr.eu
Fri Jun 24 14:18:15 CEST 2022


st 15. 6. 2022 v 12:22 odesílatel Michal Simek <monstr at monstr.eu> napsal:
>
> From: Amit Kumar Mahapatra <amit.kumar-mahapatra at xilinx.com>
>
> "size-cells" of the nand controller node should be 0 as the "reg"
> property of the nand device node contains the chip select number and not
> address information.
> The patch fixes the below compilation warning
> arch/arm/dts/zynq-zc770-xm011.dtb: Warning (reg_format):
> /axi/memory-controller at e000e000/nand-controller at 0,0/nand at 0:reg: property
> has invalid length (4 bytes) (#address-cells == 1, #size-cells == 1)
>
> Signed-off-by: Amit Kumar Mahapatra <amit.kumar-mahapatra at xilinx.com>
> Signed-off-by: Michal Simek <michal.simek at amd.com>
> ---
>
>  arch/arm/dts/zynq-7000.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/dts/zynq-7000.dtsi b/arch/arm/dts/zynq-7000.dtsi
> index 9495911397eb..37155df0fd42 100644
> --- a/arch/arm/dts/zynq-7000.dtsi
> +++ b/arch/arm/dts/zynq-7000.dtsi
> @@ -287,7 +287,7 @@
>                                 reg = <0 0 0x1000000>;
>                                 status = "disabled";
>                                 #address-cells = <1>;
> -                               #size-cells = <1>;
> +                               #size-cells = <0>;
>                         };
>                         nor0: flash at 1,0 {
>                                 status = "disabled";
> --
> 2.36.1
>

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