diff mbox series

xilinx: Disable CONFIG_EFI_LOADER_BOUNCE_BUFFER for ZynqMP/Versal

Message ID fef4dff9d91c79e5e20d2e0e8108962f7b7dcccf.1600081584.git.michal.simek@xilinx.com
State Accepted
Commit 7514fd3447442f0ab51b1538502d45ddb01a8269
Delegated to: Michal Simek
Headers show
Series xilinx: Disable CONFIG_EFI_LOADER_BOUNCE_BUFFER for ZynqMP/Versal | expand

Commit Message

Michal Simek Sept. 14, 2020, 11:06 a.m. UTC
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@xilinx.com>
---

 configs/xilinx_versal_virt_defconfig | 1 -
 configs/xilinx_zynqmp_virt_defconfig | 1 -
 2 files changed, 2 deletions(-)

Comments

Michal Simek Sept. 23, 2020, 12:28 p.m. UTC | #1
po 14. 9. 2020 v 13:06 odesílatel Michal Simek <michal.simek@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@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
diff mbox series

Patch

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