[U-Boot] [PATCH] ARM: zynq: Increase init ram size by 4K

Michal Simek monstr at monstr.eu
Tue Oct 8 07:43:51 UTC 2019


st 11. 9. 2019 v 10:49 odesílatel Michal Simek <michal.simek at xilinx.com> napsal:
>
> From: Siva Durga Prasad Paladugu <siva.durga.paladugu at xilinx.com>
>
> Increase init ram size by 4K such that more stack space will be available
> during initialization as the present stackspace is not sufficient if DEBUG
> option is enabled and causes system hang. Increasing init ram size provides
> sufficient stack space during init even if DEBUG enabled and solves the
> hang issue.
>
> Signed-off-by: Siva Durga Prasad Paladugu <sivadur at xilinx.com>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
>  include/configs/zynq-common.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h
> index 90a4a77b2c07..a6a553d852ed 100644
> --- a/include/configs/zynq-common.h
> +++ b/include/configs/zynq-common.h
> @@ -262,7 +262,7 @@
>  #define CONFIG_SYS_MEMTEST_END         0x1000
>
>  #define CONFIG_SYS_INIT_RAM_ADDR       0xFFFF0000
> -#define CONFIG_SYS_INIT_RAM_SIZE       0x1000
> +#define CONFIG_SYS_INIT_RAM_SIZE       0x2000
>  #define CONFIG_SYS_INIT_SP_ADDR                (CONFIG_SYS_INIT_RAM_ADDR + \
>                                         CONFIG_SYS_INIT_RAM_SIZE - \
>                                         GENERATED_GBL_DATA_SIZE)
> --
> 2.17.1
>

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