[PATCH] arm64: zynqmp: Disable the lock option for mini qspi

Michal Simek michal.simek at amd.com
Thu Oct 19 12:31:21 CEST 2023



On 10/12/23 15:37, Michal Simek wrote:
> From: Venkatesh Yadav Abbarapu <venkatesh.abbarapu at amd.com>
> 
> As mini configs are required only for flashing the images, so
> disabling the lock config which will save nearly 6KB of memory.
> 
> Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu at amd.com>
> Signed-off-by: Michal Simek <michal.simek at amd.com>
> ---
> 
> Depends on
> https://lore.kernel.org/all/20230928034940.2220-2-venkatesh.abbarapu@amd.com/
> ---
>   configs/xilinx_zynqmp_mini_qspi_defconfig | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/configs/xilinx_zynqmp_mini_qspi_defconfig b/configs/xilinx_zynqmp_mini_qspi_defconfig
> index a1adfb9e5d14..4a74ca76a281 100644
> --- a/configs/xilinx_zynqmp_mini_qspi_defconfig
> +++ b/configs/xilinx_zynqmp_mini_qspi_defconfig
> @@ -77,6 +77,7 @@ CONFIG_SPL_DM_SEQ_ALIAS=y
>   # CONFIG_DM_MAILBOX is not set
>   # CONFIG_MMC is not set
>   # CONFIG_SPI_FLASH_SMART_HWCAPS is not set
> +# CONFIG_SPI_FLASH_LOCK is not set
>   # CONFIG_SPI_FLASH_UNLOCK_ALL is not set
>   CONFIG_SPI_FLASH_GIGADEVICE=y
>   CONFIG_SPI_FLASH_ISSI=y

Applied.
M


More information about the U-Boot mailing list