[PATCH] arm64: zynqmp: Get rid of iommus/power-domains properties for SPL DT

Michal Simek monstr at monstr.eu
Tue Oct 27 08:15:38 CET 2020


st 7. 10. 2020 v 16:22 odesílatel Michal Simek <michal.simek at xilinx.com> napsal:
>
> SPL DT contains only nodes which are contain u-boot,dm-pre-reloc property.
> iommu node is not this case that's why when DT is read DTC reports some
> warnings.
>
> $ dtc -I dtb -O dts dts/dt-spl.dtb >/dev/null
> <stdout>: Warning (iommus_property): /amba/spi at ff0f0000:iommus: Could not get phandle node for (cell 0)
> <stdout>: Warning (iommus_property): /amba/mmc at ff160000:iommus: Could not get phandle node for (cell 0)
> <stdout>: Warning (iommus_property): /amba/mmc at ff170000:iommus: Could not get phandle node for (cell 0)
>
> SPL also has an option to remove some DT properties which are useless for
> SPL to make DT even smaller.
> Default DT properties are pinctrl-0 pinctrl-names interrupt-parent
> interrupts which are already removed.
> The patch extends this list with iommus to get rid of above warnings.
> Also power-domains unused properties can be removed.
>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
>  configs/xilinx_zynqmp_virt_defconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/configs/xilinx_zynqmp_virt_defconfig b/configs/xilinx_zynqmp_virt_defconfig
> index ef91b8feabdc..2370032c150a 100644
> --- a/configs/xilinx_zynqmp_virt_defconfig
> +++ b/configs/xilinx_zynqmp_virt_defconfig
> @@ -62,6 +62,7 @@ CONFIG_CMD_MTDPARTS_SHOW_NET_SIZES=y
>  CONFIG_CMD_UBI=y
>  CONFIG_SPL_OF_CONTROL=y
>  CONFIG_OF_LIST="avnet-ultra96-rev1 zynqmp-a2197-revA zynqmp-e-a2197-00-revA zynqmp-g-a2197-00-revA zynqmp-m-a2197-01-revA zynqmp-m-a2197-02-revA zynqmp-m-a2197-03-revA zynqmp-p-a2197-00-revA zynqmp-zc1232-revA zynqmp-zc1254-revA zynqmp-zc1751-xm015-dc1 zynqmp-zc1751-xm016-dc2 zynqmp-zc1751-xm017-dc3 zynqmp-zc1751-xm018-dc4 zynqmp-zc1751-xm019-dc5 zynqmp-zcu100-revC zynqmp-zcu102-rev1.1 zynqmp-zcu102-rev1.0 zynqmp-zcu102-revA zynqmp-zcu102-revB zynqmp-zcu104-revA zynqmp-zcu104-revC zynqmp-zcu106-revA zynqmp-zcu111-revA zynqmp-zcu1275-revA zynqmp-zcu1275-revB zynqmp-zcu1285-revA zynqmp-zcu208-revA zynqmp-zcu216-revA zynqmp-topic-miamimp-xilinx-xdp-v1r1"
> +CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names interrupt-parent interrupts iommus power-domains"
>  CONFIG_ENV_IS_NOWHERE=y
>  CONFIG_ENV_IS_IN_FAT=y
>  CONFIG_ENV_IS_IN_NAND=y
> --
> 2.28.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