diff mbox series

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

Message ID ca2d347fa7be92613f5253347467bc610ea666db.1568191763.git.michal.simek@xilinx.com
State Accepted
Commit d6d82cb0bee0b4ea53e6873010c67371af2dd5aa
Delegated to: Michal Simek
Headers show
Series [U-Boot] ARM: zynq: Increase init ram size by 4K | expand

Commit Message

Michal Simek Sept. 11, 2019, 8:49 a.m. UTC
From: Siva Durga Prasad Paladugu <siva.durga.paladugu@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@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 include/configs/zynq-common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Michal Simek Oct. 8, 2019, 7:43 a.m. UTC | #1
st 11. 9. 2019 v 10:49 odesílatel Michal Simek <michal.simek@xilinx.com> napsal:
>
> From: Siva Durga Prasad Paladugu <siva.durga.paladugu@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@xilinx.com>
> Signed-off-by: Michal Simek <michal.simek@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
diff mbox series

Patch

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)