[PATCH] xilinx: Disable CONFIG_EFI_LOADER_BOUNCE_BUFFER for ZynqMP/Versal

Michal Simek monstr at monstr.eu
Wed Sep 23 14:28:18 CEST 2020


po 14. 9. 2020 v 13:06 odesílatel Michal Simek <michal.simek at xilinx.com> napsal:
>
> Both SOCs shouldn't have any problem with 64bit dma accesses. Also with PIE
> enabled when u-boot is placed above 4GB without any memory mapped below 4GB
> address space efi_memory_init() call is failing due to missing memory node.
>
> For this two reason disable this option for ZynqMP and Versal.
>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
>  configs/xilinx_versal_virt_defconfig | 1 -
>  configs/xilinx_zynqmp_virt_defconfig | 1 -
>  2 files changed, 2 deletions(-)
>
> diff --git a/configs/xilinx_versal_virt_defconfig b/configs/xilinx_versal_virt_defconfig
> index 26785f0cfeed..6f3ca9cb5af4 100644
> --- a/configs/xilinx_versal_virt_defconfig
> +++ b/configs/xilinx_versal_virt_defconfig
> @@ -100,4 +100,3 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0x0300
>  CONFIG_USB_GADGET_DOWNLOAD=y
>  CONFIG_USB_FUNCTION_THOR=y
>  CONFIG_OF_LIBFDT_OVERLAY=y
> -CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
> diff --git a/configs/xilinx_zynqmp_virt_defconfig b/configs/xilinx_zynqmp_virt_defconfig
> index ffabee720a61..868743df313a 100644
> --- a/configs/xilinx_zynqmp_virt_defconfig
> +++ b/configs/xilinx_zynqmp_virt_defconfig
> @@ -164,4 +164,3 @@ CONFIG_WDT_CDNS=y
>  CONFIG_PANIC_HANG=y
>  CONFIG_SPL_GZIP=y
>  CONFIG_OF_LIBFDT_OVERLAY=y
> -CONFIG_EFI_LOADER_BOUNCE_BUFFER=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