[PATCH] arm64: zynqmp: Reduce malloc memory for mini QSPI configuration

Michal Simek monstr at monstr.eu
Fri Jul 24 14:17:54 CEST 2020


čt 16. 7. 2020 v 12:03 odesílatel Michal Simek <michal.simek at xilinx.com> napsal:
>
> From: Ashok Reddy Soma <ashok.reddy.soma at xilinx.com>
>
> Mini U-boot runs on lower foot print of 256KB OCM. Hence 8K memory
> for malloc may not be required. Reduce it by 1.5K.
>
> Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma at xilinx.com>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
>  include/configs/xilinx_zynqmp_mini_qspi.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/configs/xilinx_zynqmp_mini_qspi.h b/include/configs/xilinx_zynqmp_mini_qspi.h
> index 129af6e93294..205ddb4ae097 100644
> --- a/include/configs/xilinx_zynqmp_mini_qspi.h
> +++ b/include/configs/xilinx_zynqmp_mini_qspi.h
> @@ -13,6 +13,6 @@
>  #include <configs/xilinx_zynqmp_mini.h>
>
>  #define CONFIG_SYS_INIT_SP_ADDR        (CONFIG_SYS_TEXT_BASE + 0x20000)
> -#define CONFIG_SYS_MALLOC_LEN  0x2000
> +#define CONFIG_SYS_MALLOC_LEN  0x1a00
>
>  #endif /* __CONFIG_ZYNQMP_MINI_QSPI_H */
> --
> 2.27.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